2011-10-05 17:24, Martin Pitt skrev:
> Gunnar Hjalmarsson [2011-10-05 14:47 -0000]:
>> We currently derive locales from language denotations, such as 'es_ES'
>> or 'de', all the time.
> 
> But we should really avoid doing that, as it can never be correct for
> $LANG. It's fine for LC_MESSAGES and LC_CTYPE.

We don't do it for $LANG. $LANG is set from a separate UI (currently in
language-selector) that lists the available UTF-8 locales. So I think we
are agreed.

>> The main problem is that LANG represents regional formats in
>> Oneiric, not language.
> 
> $LANG has always been defined to specify a locale, not a language.
> This is neither Oneiric nor Ubuntu specific, but standard
> gettext/POSIX behaviour.
> 
> http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap08.html

I meant that LANG in Oneiric *contains a locale name* that represents
regional formats as opposed to a locale name that represents a
language/translation. So we are most likely agreed on this too. :)

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

Title:
  Need to set $LANG from .dmrc for backwards compatibility

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/868149/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to