[Bug 877284] Re: Language selector sets incorrect values for variables in locales with existing @ variants

2011-11-11 Thread Antonio ViciƩn Faure
** Description changed: It seems that for locales which have got language variants (e.g. ca and ca@valencia, sr and sr@latin), language-selector sets the locale-related environment variables incorrectly as the variant instead of the main language, despite the main language being selected

[Bug 877284] Re: Language selector sets incorrect values for variables in locales with existing @ variants

2011-10-18 Thread David Planella
Marking it as high in the translations project: this has already caused some confusion to Catalan users not living in the Valencia area. Both variants are understandable regardless of the region, but choosing one over the other changes the established (and expected) terminology users are used to.

[Bug 877284] Re: Language selector sets incorrect values for variables in locales with existing @ variants

2011-10-18 Thread David Planella
** Also affects: ubuntu-translations Importance: Undecided Status: New ** Changed in: ubuntu-translations Status: New = Triaged ** Changed in: ubuntu-translations Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 877284] Re: Language selector sets incorrect values for variables in locales with existing @ variants

2011-10-18 Thread Jordi Sayol
** Changed in: language-selector (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/877284 Title: Language selector sets incorrect values for variables in locales

[Bug 877284] Re: Language selector sets incorrect values for variables in locales with existing @ variants

2011-10-18 Thread Gunnar Hjalmarsson
Hi David! Can you please let us know the output of these commands entered in a terminal window: cat /etc/default/locale cat ~/.profile -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/877284

[Bug 877284] Re: Language selector sets incorrect values for variables in locales with existing @ variants

2011-10-18 Thread David Planella
Hm, I fixed it by setting the correct locale in my installation, and the person who reported it to me as well, so I cannot post the data from those. I've reinstalled on a virtual machine with Internet connection and marking the checkbox to download updates on the installer. I couldn't reproduce

[Bug 877284] Re: Language selector sets incorrect values for variables in locales with existing @ variants

2011-10-18 Thread Gunnar Hjalmarsson
I see. Please just let me say that while the installer writes to /etc/default/locale, it does not touch ~/.profile AFAIK. I don't think the installer even tries to get it 100% right in all cases, but it rather trusts that the user easily can fine tune the settings via language-selector. Possibly