Bug 448371

Summary: Adding zh_HK into LANGUAGE causes systemsettings to show English instead of fallback languages
Product: [Translations] i18n Reporter: Michael Tsang <miklcct>
Component: zh_CNAssignee: Weng Xuetian <wengxt>
Status: REPORTED ---    
Severity: normal CC: hanyoung, nate, nicolas.fella, wengxt
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Chinese shown properly in system settings
English shown in system settings when zh_HK is added into LANGUAGE

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?