[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-25 Thread Gunnar Hjalmarsson
No language update from Xsession for guest sessions; system-wide language applied. ** Patch added: gdm_partial-fix-553162.debdiff https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/553162/+attachment/1710260/+files/gdm_partial-fix-553162.debdiff -- Set $LANGUAGE if the user picks a

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-25 Thread Gunnar Hjalmarsson
Some 'sed-ing' and 'grep-ing' replaced with built-in shell features (for efficiency purposes) ** Patch removed: gdm_partial-fix-553162.debdiff https://bugs.launchpad.net/ubuntu-translations/+bug/553162/+attachment/1710260/+files/gdm_partial-fix-553162.debdiff ** Patch added:

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-18 Thread Gunnar Hjalmarsson
** Patch removed: language-selector_suppl-fix-553162.debdiff https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/553162/+attachment/1644563/+files/language-selector_suppl-fix-553162.debdiff ** Patch removed: gdm_partial-fix-553162.debdiff

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-18 Thread Gunnar Hjalmarsson
** Patch added: gdm_partial-fix-553162.debdiff https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/553162/+attachment/1699264/+files/gdm_partial-fix-553162.debdiff -- Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-18 Thread Gunnar Hjalmarsson
On 2010-10-13 18:49, Martin Pitt wrote: ... for German, Launchpad/Ubuntu langpacks just ship de, since the variations in the different countries are negligible and just lead to bloat or inconsistent translations. The major exceptions are Portugese, Chinese, and British English. So if we

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-16 Thread Gunnar Hjalmarsson
** Branch unlinked: lp:~gunnarhj/ubuntu/lucid/language-selector/suppl- fix-553162 -- Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing https://bugs.launchpad.net/bugs/553162 You received this bug notification because you are a member

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-15 Thread Launchpad Bug Tracker
** Branch linked: lp:~gunnarhj/gdm/partial-fix-553162 -- Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing https://bugs.launchpad.net/bugs/553162 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-15 Thread Gunnar Hjalmarsson
** Branch unlinked: lp:~gunnarhj/gdm/partial-fix-553162 -- Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing https://bugs.launchpad.net/bugs/553162 You received this bug notification because you are a member of Ubuntu Desktop Bugs,

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-15 Thread Launchpad Bug Tracker
** Branch linked: lp:~gunnarhj/gdm/partial-fix-553162 -- Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing https://bugs.launchpad.net/bugs/553162 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-15 Thread Launchpad Bug Tracker
** Branch linked: lp:~gunnarhj/language-selector/suppl-fix-553162 -- Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing https://bugs.launchpad.net/bugs/553162 You received this bug notification because you are a member of Ubuntu Desktop

Re: [Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-15 Thread David Planella
El dl 11 de 10 de 2010 a les 12:35 +, en/na August Karlstrom va escriure: I can't understand how the developers or testers of the language selector have missed the very basic test scenario of choosing different languages for text and numbert etc. and then starting the most commonly used

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-15 Thread August Karlstrom
David; my input provided insight into what the end user percieve as a problem. I think to many it is not clear what this bug is all about. The testing scenario to reproduce the bug I reported (bug 626722) and which was considered to be the same as this one by Gunnar Hjalmarsson really is as

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-15 Thread Gunnar Hjalmarsson
** Branch unlinked: lp:~gunnarhj/ubuntu/natty/language-selector/suppl- fix-553162 ** Branch unlinked: lp:~gunnarhj/ubuntu/maverick/gdm/partial-fix-553162 -- Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-15 Thread Gunnar Hjalmarsson
I marked bug 550222 as a duplicate of this bug report. Even if that may not be all true, I hope and believe that also those issues will be resolved by the solution that is currently being discussed here. -- Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-15 Thread Gunnar Hjalmarsson
Hi Martin, I considered your comments, and rewrote the patches. Even if it resulted in a few more lines of code, I believe you will find that it makes sense. As regards language-selector, it now updates an LC_MESSAGES line in ~/.profile. Given that, it was possible to put the sedding/writing

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-13 Thread Launchpad Bug Tracker
** Branch linked: lp:~gunnarhj/ubuntu/natty/language-selector/suppl- fix-553162 -- Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing https://bugs.launchpad.net/bugs/553162 You received this bug notification because you are a member of

Re: [Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-13 Thread Martin Pitt
Hello Gunnar, Gunnar Hjalmarsson [2010-10-08 13:55 -]: but gdm shouldn't offer me three different country options for Germany, Why not? Ok, it should offer you six different country options, because that's the available number. ;-) I mainly mentioned this because for many languages

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-12 Thread Gunnar Hjalmarsson
Some additional thoughts. Irrespective of which changes we agree upon at last, considering the high importance of this issue they ought to be implemented, and people given sufficient time to test them, in good time for the Natty release. To make testing easier, I created ppa:gunnarhj/locale-test

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-12 Thread Gunnar Hjalmarsson
Hmm.. Thought that Launchpad would make a link from ppa:gunnarhj/locale- test. Apparently not. This is the address to the PPA: https://launchpad.net/~gunnarhj/+archive /locale-test -- Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-11 Thread Hsin-Yi, Chen (hychen)
I agree with Gunnar Hjalmarsson, if a user changes the language in GDM, it should only change the interface language(set LANGUAGE, LC_MESSAGE variable), not ALL locale seetings. As a Taiwan user, the default display language after Ubuntu installed is Traditional Chinese, but I prefer my interface

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-11 Thread August Karlstrom
I can't understand how the developers or testers of the language selector have missed the very basic test scenario of choosing different languages for text and numbert etc. and then starting the most commonly used application: Firefox. -- Set $LANGUAGE if the user picks a different locale in

Re: [Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-08 Thread Martin Pitt
Hello Gunnar, Gunnar Hjalmarsson [2010-10-07 22:34 -]: Keeping the limited purpose of GDM's locale selector in mind, i.e. allowing users to start a session in a different language, I believe that _now_ the best way to serve that purpose is to update $LANGUAGE and set $LC_MESSAGES, while

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-08 Thread Gunnar Hjalmarsson
Hi again, Martin! On 2010-10-08 13:08, Martin Pitt wrote: Gunnar Hjalmarsson [2010-10-07 22:34 -]: Keeping the limited purpose of GDM's locale selector in mind, i.e. allowing users to start a session in a different language, I believe that _now_ the best way to serve that purpose is to

Re: [Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-07 Thread Martin Pitt
Hello Gunnar, Gunnar Hjalmarsson [2010-10-04 8:38 -]: language-selector sets $LANGUAGE for language, and $LANG for other locales. That's why it's inconsistent that gdm sometimes uses $LANG when dealing with the language to be used for message display. gdm doesn't have such an elaborate

Re: [Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-07 Thread Martin Pitt
Gunnar Hjalmarsson [2010-10-05 4:13 -]: It seems to me that you, and possibly also Martin, assume that $LANG ought to correspond to the first language in the $LANGUAGE list. No, it shouldn't. I wasn't saying that, I was just saying that, since gdm doesn't have a way to configure

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-07 Thread Gunnar Hjalmarsson
Martin, On 2010-10-07 11:11, Martin Pitt wrote: [gdm] just has a simple locale selector ... the main point is that you can start a desktop session in a different language. That's crystal clear to me. And as long as language-selector didn't distinguish between language and other locale aspects,

Re: [Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-04 Thread David Planella
Hi Gunnar, Thanks for your work on this. I'll let Martin comment on the technical aspects and add only a couple of comments. El dl 04 de 10 de 2010 a les 08:38 +, en/na Gunnar Hjalmarsson va escriure: @ Martin language-selector sets $LANGUAGE for language, and $LANG for other locales.

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-04 Thread Gunnar Hjalmarsson
@ David Thanks for your praising comment. It seems to me that you, and possibly also Martin, assume that $LANG ought to correspond to the first language in the $LANGUAGE list. That, I believe, is a misconception, at least from a language-selector perspective, and I fear that we have talked at

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-02 Thread YunQiang Su
for example user's LANGUAGE is set zh_CN:zh_TW:zh_HK:en_US:en_GB and in gdm he/her set to en_GB can we do it like this: gdm set LANGUAGE to en_GB:zh_CN:zh_TW:zh_HK:en_US or even en_GB:zh_CN:zh_TW:zh_HK:en_US:en_GB it is simple and can work. -- Set $LANGUAGE if the user picks a different

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-01 Thread Martin Pitt
I don't see why it should be inconsistent. If you pick a new language in gdm, then presumably you actually want to use this language (why else did you do it?), so in this case we should really empty $LANGUAGE. We just need to care about leaving $LANGUAGE alone if the selected language in gdm

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-09-29 Thread Martin Pitt
Gunnar, Making up a $LANGUAGE from $LANG is hard to impossible. I think we should just unset it, as per comment 10. Also, the gdm script should not _ever_ modify files aside from ~/.wmrc, in particular not the user's profile. The current one doesn't take into account different syntax variants for

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-09-29 Thread Gunnar Hjalmarsson
@Martin Well, I don't consider it to be a problem, as you say in comment #10, that language-selector distinguishes between language and other locale aspects. That's just as it should be IMO. As far as I understand, the compromise you currently advocate would mean that Ubuntu's localisation

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-09-27 Thread Gunnar Hjalmarsson
Can't see how unsetting $LANGUAGE would not create new problems, so I changed the summary. -- Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing https://bugs.launchpad.net/bugs/553162 You received this bug notification because you are a

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-09-27 Thread Brian Murray
** Tags added: patch -- Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing https://bugs.launchpad.net/bugs/553162 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu.

<    1   2