[Bug 681709] Re: mixed locale in dialogs

Per Ångström 681709 at bugs.launchpad.net
Mon Aug 8 07:32:15 UTC 2011


Robert Roth (evfool) wrote:
> (and they should be in English, but should use numeric, date, time, etc formats from nl_NL locale).

Actually, it depends. In running text, the language locale should be
used for all formatting even though the user's non-language locale is
different. For example, it goes against English usage to use another
decimal-point separator than a point, even though the Swedish locale
proscribes a comma. In a tabular context it is different, and the user's
locale should prevail over the language locale.

Compare:
"Amount to pay:  USD 1,000.12" (English locale throughout) vs  "Amount to pay: 1 000,12 USD" (Mixed English and Swedish locale).

The latter is an all-too-common example of programmers being hyper-
correct about locale issues.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to aptdaemon in Ubuntu.
https://bugs.launchpad.net/bugs/681709

Title:
  mixed locale in dialogs

Status in PolicyKit GNOME component:
  New
Status in “aptdaemon” package in Ubuntu:
  Confirmed
Status in “policykit-1-gnome” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: update-manager

  Update Manager's authentication dialog comes up with a mixture of English and Swedish, see the attached screenshot.
  I'm not seeing this language mixture in other authentication dialogs, such as when starting Synaptic.

  I have adjusted my locale to have an English-language desktop with a
  Swedish locale:

  LANG=sv_SE.utf8
  LANGUAGE=en_US.utf8
  LC_CTYPE=sv_SE.utf8
  LC_NUMERIC=sv_SE.utf8
  LC_TIME=sv_SE.utf8
  LC_COLLATE=sv_SE.utf8
  LC_MONETARY=sv_SE.utf8
  LC_MESSAGES=en_US.utf8
  LC_PAPER=sv_SE.utf8
  LC_NAME=sv_SE.utf8
  LC_ADDRESS=sv_SE.utf8
  LC_TELEPHONE=sv_SE.utf8
  LC_MEASUREMENT=sv_SE.utf8
  LC_IDENTIFICATION=sv_SE.utf8
  LC_ALL=

  (About the different settings of LANG and LANGUAGE: that's a mystery
  to me, since my .profile sets them both to en_US.utf8.)

  ProblemType: Bug
  DistroRelease: Ubuntu 10.10
  Package: update-manager 1:0.142.20
  ProcVersionSignature: Ubuntu 2.6.35-23.40-generic 2.6.35.7
  Uname: Linux 2.6.35-23-generic x86_64
  Architecture: amd64
  Date: Fri Nov 26 10:11:32 2010
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
  PackageArchitecture: all
  SourcePackage: update-manager

To manage notifications about this bug go to:
https://bugs.launchpad.net/policykit-1-gnome/+bug/681709/+subscriptions




More information about the foundations-bugs mailing list