Some locales are showing ISO codes instead of names

Bug #1615374 reported by Akerbeltz
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-system-settings (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

In the Settings > Language and Text menu, the pattern is
Language name_native (Country name_native)
e.g.
Deutsch (Germany)

but there are some locales for which this is showing the ISO codes for some reason:
Ug (CN)
Oc (Fr)
Gd (GB)
Ast (ES)

which should be (in the case of gd for example)
Gàidhlig (An Rìoghachd Aonaichte)

affects: langpack-o-matic → ubuntu-system-settings (Ubuntu)
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

Can you add details re your device and version
Also add the log at /home/phablet/.cache/upstart/application-legacy-ubuntu-system-settings-.log
Not seeing it on any devices I have, or is this in a desktop session?

Changed in ubuntu-system-settings (Ubuntu):
status: New → Incomplete
Revision history for this message
Akerbeltz (fios) wrote :

It's on a physical device, Aquaris E4.5 with the UI set to Gaelic (gd-GB), 15.04 OTA 12.

There is something weird about the localized UI I just realized. If I set it to German (Germany), those 4 locales are showing in German (i.e. Uigurisch (China), Asturianisch (Spanien) etc) whereas the others are all showing native_name (native_country) e.g. Português (Brasil).

Attaching screenshot.

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Then I have a theory (without having checked the u-s-s source code): Can this be a result of incomplete Gaelic translations of iso-codes?

https://translations.launchpad.net/ubuntu/+source/iso-codes

Revision history for this message
Akerbeltz (fios) wrote :

I can't believe that to be the case. That would mean that German would have had to localize Uyghur, Occitan, Asturian and Scots Gaelic but NOT Spanish, French, Chinese etc.

Unless you are suggesting that somewhere in those files is the native_name and native_country which Touch pulls when building langpacks and which, in the absence of a localized name show the ISO? That can't be right either because surely the fallback is always en-US, not the native language name?

In case there is a need for a list of locales for Touch, this ought to be pulled from a Touch-specific file of ISO codes because it's very much hit and miss with those lists you linked. I wouldn't even know which one to start with and they all pretty hefty.

Revision history for this message
Akerbeltz (fios) wrote :

To clarify, German is showing a mix. It has
Asturianisch (Spanien)
Bahasa Indonesia (Indonesia)
Bahasa Melayu (Malaysia)
Bosanski (Bosna i Hercegovina)
Brezhoneg (Frañs)

Which disproves Gunnar's theory because (assuming the German team is as efficient as elsewhere), I would expect them to have completed the ISO lists and so I'd expect
Asturianisch (Spanien)
Indonesisch (Indonesian)
Malaiisch (Malaisia)
Bosnisch (Bosnien und Herzegowina)
Bretonisch (Frankreich)

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Yeah, I was probably wrong. Otherwise, as you said, it should simply fall back to English.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for ubuntu-system-settings (Ubuntu) because there has been no activity for 60 days.]

Changed in ubuntu-system-settings (Ubuntu):
status: Incomplete → Expired
Akerbeltz (fios)
Changed in ubuntu-system-settings (Ubuntu):
status: Expired → Incomplete
Changed in ubuntu-system-settings (Ubuntu):
status: Incomplete → Expired
Akerbeltz (fios)
Changed in ubuntu-system-settings (Ubuntu):
status: Expired → Incomplete
status: Incomplete → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-system-settings (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.