Bug 341236 - Not all languages have the same capitalization
Summary: Not all languages have the same capitalization
Status: RESOLVED UPSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_regionandlang (show other bugs)
Version: 5.1.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: John Layt
URL: https://bugreports.qt.io/browse/QTBUG...
Keywords:
: 377544 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-11-24 18:57 UTC by Albert Astals Cid
Modified: 2022-07-19 17:08 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.