Bug 341236

Summary: Not all languages have the same capitalization
Product: [Applications] systemsettings Reporter: Albert Astals Cid <aacid>
Component: kcm_regionandlangAssignee: John Layt <jlayt>
Status: RESOLVED UPSTREAM    
Severity: normal CC: hanyoung, justin.zobel, nate, scootergrisen
Priority: NOR    
Version: 5.1.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
URL: https://bugreports.qt.io/browse/QTBUG-91355
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Albert Astals Cid 2014-11-24 18:57:47 UTC
* Not all languages have full form, e.g. i can see csb there instead of Kashubian
 * Not all languages have the same capitalization (American English vs català)
 * Some langauges are present multiple times because variants are not shown properly, i.e. ca and ca@valencia are both shown as (català)

I can split this into multiple bugs if you prefer
Comment 1 Justin Zobel 2020-11-11 08:22:13 UTC
(In reply to Albert Astals Cid from comment #0)
> * Not all languages have full form, e.g. i can see csb there instead of
> Kashubian

Looks like this is now fixed.

>  * Not all languages have the same capitalization (American English vs
> català)

This is still an issue.

>  * Some langauges are present multiple times because variants are not shown
> properly, i.e. ca and ca@valencia are both shown as (català)

This appears fixed.
Comment 2 Nate Graham 2021-09-30 19:24:07 UTC
*** Bug 377544 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2022-07-19 15:56:50 UTC
It seems that this is an issue in Unicode CLDR; see https://bugreports.qt.io/browse/QTBUG-91355?focusedCommentId=641357&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-641357

We might be able to work around it in our code though.
Comment 4 Nate Graham 2022-07-19 17:08:25 UTC
From the Qt bug report:

> There is no discrimination: language names in Russian begin with a lowercase letter. "Russian" is "русский",
> "English" is "английский".
That means that sometimes beginning with a lowercase letter is intentional and correct, which means we can't work around the issue on our end by blindly capitalizing the first letter. It will have to be fixed upstream to capitalize the first letter of the languages that should be capitalized in the system's current language, but currently aren't.