Loïc Minier wrote:
> So why would we want to accumulate languages rather than updating the
> default one?
> 
> i.e. why change:
> LANG=foo
> LANGUAGE=foo
> 
> to:
> LANG=bar
> LANGUAGE=foo:bar
> 
> instead of:
> LANG=bar
> LANGUAGE=bar
> ?

LANG and LANGUAGE don't have the same format.

Look at the following examples:

LANG=en_NZ.UTF-8
LANGUAGE=en_NZ:en_AU:en_GB:en
-> Order of preference for translations:
  1. English (New Zealand)
  2. English (Australia)
  3. English (UK)
  4. any English string

Depending on the availability of the translations for the different 
English flavors, one of them gets picked and displayed to the user.

LANG=fy_NL.UTF-8
LANGUAGE=fy_NL:fy:nl_NL:nl:en_GB:en
-> Order of preference for translations:
  1. Frisian (Netherlands)
  2. any Frisian (there is also fy_DE)
  3. Dutch (Netherlands)
  4. any Dutch (there is also nl_BE)
  5. English (UK)
  6. any English

LANG=pt_BR.UTF-8
LANGUAGE=pt_BR:pt:pt_PT
-> Order of preference for translations:
  1. Brazilian Portuguese
  2. any Portuguese
  3. Portuguese (Portugal)
BTW: pt_PT has the ordering the other way round: pt_PT:pt:pt_BR

LANG=sv_SE.UTF-8
LANGUAGE=en_US:en
-> The user is living in Sweden and wants to have local currency and 
paper formats, but prefers his desktop to be displayed in English (US), 
with fall back to any English.

These are all real life examples.

-- 
Sets LANGUAGE when changing the default system language
https://bugs.launchpad.net/bugs/387300
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to