Bug 2012433 - latte-dock translation for Chinese
Summary: latte-dock translation for Chinese
Alias: None
Product: Fedora Localization
Classification: Fedora
Component: Chinese Simplified [zh_CN]
Version: unspecified
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: TianShixiong
QA Contact: TianShixiong
Depends On:
TreeView+ depends on / blocked
Reported: 2021-10-09 09:42 UTC by 319513897
Modified: 2021-11-05 09:02 UTC (History)
5 users (show)

Fixed In Version: 0.10.3-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2021-10-28 09:06:28 UTC

Attachments (Terms of Use)

Description 319513897 2021-10-09 09:42:14 UTC
Description of problem:

latte-dock has no l10n, but kde community: https://crowdin.com/project/kdeorg/zh-CN has make full transaltion for it. Please add it.

Version-Release number of selected component (if applicable):


How reproducible:

Steps to Reproduce:
1. dnf install latte-dock
2. run latte-dock
3. Interface is English always, has no Chinese

Actual results:

Show a English interface.

Expected results:

Show Chinese interface.

Comment 1 lchopn 2021-10-09 14:33:58 UTC
I have checked that there are no language files for latte-dock under /usr/share/locale/zh_CN/LC_MESSAGES/. According to the latte-dock's packaging source[1], these files might not be included in the package(no %find_lang macro in spec file).

Since I'm not familiar with KDE related packaging, I guess it would be useful to CC packager and kde-sig here.

[1]: https://src.fedoraproject.org/rpms/latte-dock/blob/rawhide/f/latte-dock.spec



Comment 2 319513897 2021-10-10 02:49:45 UTC
Yes, it should be the problem of latte-dock.spec. Archlinux has latte-dock's translattion, and it include /usr/share/locale/ar/LC_MESSAGES/latte-dock.mo file: https://archlinux.pkgs.org/rolling/archlinux-community-x86_64/latte-dock-0.10.2-1-x86_64.pkg.tar.zst.html. But fedora has no this file: https://fedora.pkgs.org/34/fedora-updates-x86_64/latte-dock-0.10.2-1.fc34.x86_64.rpm.html

But fortunately, I can get translation by install latte-dock-lang which is provided by opensuse: https://opensuse.pkgs.org/tumbleweed/opensuse-oss-aarch64/latte-dock-lang-0.10.2-1.1.noarch.rpm.html

sudo dnf in https://ftp.lysator.liu.se/pub/opensuse/ports/aarch64/tumbleweed/repo/oss/noarch/latte-dock-lang-0.10.2-1.1.noarch.rpm && kill `ps -A | grep latte | awk '{print $1}'` && latte-dock&

Then latte-dock become Chinese.

But expect fedora has this also. :)

Comment 3 Than Ngo 2021-10-28 09:06:28 UTC
it should be fixed in latte-dock-0.10.3-1

Note You need to log in before you can comment on or make changes to this bug.