desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #117654
[Bug 1440275] Re: Ubuntu GNOME only allows regional format setting for US, UK, Canada, Australia, and NZ
@Tim,
I noticed a similar problem at Ask Ubuntu:
http://askubuntu.com/questions/616688
So I had a look, and I think the problem lies in two Ubuntu patches, so
it hasn't likely been fixed upstream.
* gnome-desktop3, ubuntu_language.patch
* gnome-control-center, 52_region_language.patch
ubuntu_language.patch adds the collect_locales_from_ubuntu() function to
gnome-languages.c. collect_locales_from_ubuntu() is called from
collect_locales() and populates the hash table
gnome_available_locales_map via the add_locale() function.
Since the function cc_common_language_get_initial_regions() in gnome-
control-center calls gnome_get_all_locales() in gnome-languages.c, which
in turn uses the gnome_available_locales_map hash table, it incorrectly
grabs the list of languages.
Originally (in 3.6) the call for /usr/share/language-tools/language-
options happened directly in the function which populated the list of
available languages. To achieve something similar, this could be done:
- Drop the addition of collect_locales_from_ubuntu() and the changes to
collect_locales() from ubuntu_language.patch
- Let cc_common_language_add_user_languages() call
/usr/share/language-tools/language-options directly somehow (via
52_region_language.patch)
Another approach might be to replace the use of gnome_get_all_locales()
in cc_common_language_get_initial_regions() with a 'locale -a' list.
** Changed in: gnome-control-center (Ubuntu)
Importance: Undecided => Medium
** Changed in: gnome-control-center (Ubuntu)
Status: New => Triaged
** Project changed: ubuntu-gnome => gnome-desktop3 (Ubuntu)
** Changed in: gnome-desktop3 (Ubuntu)
Milestone: vivid => None
** Changed in: gnome-desktop3 (Ubuntu)
Importance: Undecided => Medium
** Changed in: gnome-desktop3 (Ubuntu)
Status: New => Triaged
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-control-center in Ubuntu.
https://bugs.launchpad.net/bugs/1440275
Title:
Ubuntu GNOME only allows regional format setting for US, UK, Canada,
Australia, and NZ
Status in gnome-control-center package in Ubuntu:
Triaged
Status in gnome-desktop3 package in Ubuntu:
Triaged
Bug description:
I installed Ubuntu GNOME 15.04 Beta 2. I set the system locale to
Korean language, which worked okay. When I tried to set regional
format (date, time, currency, number, metric, etc.), however, the
options are only limited to 5 regions: US, UK, Canada, Australia, New
Zealand. I do live in the US, but I want to set the regional format in
Korean because that goes with the system language. I currently set the
regional format to that of Canada because I am not familiar with US
system of yards, feet and pounds. As you can see in the attached
screenshot, the date format shown on the middle of the task bar is a
mixture of English and Korean (Frankenstein-ish).
As I browsed through the bug report launchpad site, I found this bug
has a long history which dates back to Ubuntu version 9.04. I have
installed Ubuntu GNOME 14.04 LTS on my other computer and it does not
have the same bug. I guess it has something to do with the newly
introduced "systemd"?
I would very much like to see this bug is fixed ASAP (at least before
the release of 15.04 proper version). I love GNOME interface, but this
bug annoys me. Regards.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1440275/+subscriptions