Bug 448371 - Adding zh_HK into LANGUAGE causes systemsettings to show English instead of fallback languages
Summary: Adding zh_HK into LANGUAGE causes systemsettings to show English instead of f...
Status: REPORTED
Alias: None
Product: i18n
Classification: Translations
Component: zh_CN (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Weng Xuetian
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-13 15:30 UTC by Michael Tsang
Modified: 2022-01-14 17:15 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Chinese shown properly in system settings (462.55 KB, image/png)
2022-01-13 15:30 UTC, Michael Tsang
Details
English shown in system settings when zh_HK is added into LANGUAGE (497.80 KB, image/png)
2022-01-13 15:31 UTC, Michael Tsang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Tsang 2022-01-13 15:30:45 UTC
Created attachment 145409 [details]
Chinese shown properly in system settings

SUMMARY
Adding zh_HK into LANGUAGE causes systemsettings to show English instead of fallback languages


STEPS TO REPRODUCE
1. Set LANGUAGE=zh_TW:zh_CN
2. Run system settings
3. Verify that only Chinese is shown, as in the first screenshot
4. Set LANGUAGE=zh_HK:zh_TW:zh_CN
5. Run system settings again

OBSERVED RESULT
It shows English items despite I don't want English

EXPECTED RESULT
It continues to show Chinese.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 21.10
(available in About System)
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Michael Tsang 2022-01-13 15:31:13 UTC
Created attachment 145410 [details]
English shown in system settings when zh_HK is added into LANGUAGE
Comment 2 Nate Graham 2022-01-13 21:37:21 UTC
Does this happen only in System Settings, or in other KDE apps too? How about non-KDE apps?
Comment 3 Michael Tsang 2022-01-14 08:58:11 UTC
I cannot reproduce this bug in the following application I have tested:

KDE apps:
kcalc
kate
konsole

non-KDE apps:
gnucash
libreoffice
Comment 4 Michael Tsang 2022-01-14 09:01:24 UTC
I can reproduce this in other KDE apps such as Kontact and Plasma application launcher, where adding zh_HK will cause English words to be shown in menu items, but UI texts still work correctly.
Comment 5 Nate Graham 2022-01-14 17:15:12 UTC
That's odd. Seems more like a bug in those apps or their translations than an issue in the Languages KCM.

i18n folks, would you be able to have a look?