While the blog post you linked to notes the Ubuntu specific patch, it's
wrong about the main reason why it was applied. As is stated in bug
#887395 it was for consistency reasons, considering that qt applications
were claimed to use comma as the decimal separator in case of an en_ZA
locale.

That, OTOH, makes me hesitate. From what I have observed, the behaviour
of qt applications with respect to locale handling is anything but
convincing. For instance it seems like qt apps let the LC_NUMERIC locale
category determine the display language, which is plain wrong. An
example:

http://askubuntu.com/questions/447454/how-to-change-the-ui-language-on-
clementine/447468#447468

If they instead used LC_NUMERIC for its intended purpose, we wouldn't
have this problem now...

@Martin: What's your view on this? Do we have strong enough reasons to
keep that patch? It hasn't yet been applied upstream after more than 2.5
years.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to langpack-locales in Ubuntu.
https://bugs.launchpad.net/bugs/1090288

Title:
  The locale file for en_ZA appears to have an error

Status in “langpack-locales” package in Ubuntu:
  Confirmed

Bug description:
  I suspect there is a problem with the locale for South Africa. The
  locale file for en_ZA located in /usr/share/i18n/locales has the
  following settings:

  LC_Monetary
  .....

  % "."
  mon_decimal_point       "<U002C>"

  % ","
  mon_thousands_sep       "<U00A0>"
  mon_grouping            3;3
  positive_sign           ""
  ....

  
  LC_NUMERIC
  % "."
  decimal_point           "<U002C>"

  % ","
  thousands_sep           "<U00A0>"
  grouping                3;3
  END LC_NUMERIC

  
  - Unicode character <U002C> is for a comma "," and not a full stop "." It 
should be <U002E>
  - Unicode character <U00A0> is for a non-breaking space " " and not a comma 
"," . If it's meant to be a comma it should be <U002C>

  South Africa is on the metric system and uses a "." for decimal
  places. The above issue results in the regional settings having a
  comma in the decimal place and causes a number of errors when trying
  to use other software packages.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/langpack-locales/+bug/1090288/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to