Bug 2012433

Summary: latte-dock translation for Chinese
Product: [Fedora] Fedora Localization Reporter: 319513897
Component: Chinese Simplified [zh_CN]Assignee: TianShixiong <tiansworld>
Status: CLOSED RAWHIDE QA Contact: TianShixiong <tiansworld>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: kde-sig, marcdeop, than, tiansworld, trans-zh_cn
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 0.10.3-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-28 09:06:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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):

latte-dock-0.10.2-1.fc34.x86_64

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

@marcdeop 

@kde-sig.org

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

Run
 
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