sarge gdm language entry, howto add language?
Hi. Can someone please tell me how to add a language entry to gdm Language option? I have googled and saw a dscussion where it seemed that this was hardcoded in gdm, what does not makes sense to me.. I installed kde-i18n-pt and my guess is that I'm mising some package, maybe gnome related, that enables pt to show up in gdm language listing.. I've tried apt-cache search pt | grep gdm and apt-cache search pt | grep gnome but none of these show any interesting results... (using sarge) Thanks Joao Clemente -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: sarge gdm language entry, howto add language?
Answering to myself: dpkg-reconfigure locales will place wichever locales you select in gdm language chooser But, unfortunately, this has not given me the functionality I was hoping to get... (well, it almost did...) : I was hoping to use gdm (because of this language feature) to enter kde with the chosen language for the user... But I found out that unfortunately this language chooser only works for gnome sessions... kde language setting must be made inside kde's control panel... Is there any workaround known, so that I can have a interface language chooser in gdm/kdm/whatever that changes the language displayed by kde? Thanks Joao clemente Joao Clemente wrote: Hi. Can someone please tell me how to add a language entry to gdm Language option? I have googled and saw a dscussion where it seemed that this was hardcoded in gdm, what does not makes sense to me.. I installed kde-i18n-pt and my guess is that I'm mising some package, maybe gnome related, that enables pt to show up in gdm language listing.. I've tried apt-cache search pt | grep gdm and apt-cache search pt | grep gnome but none of these show any interesting results... (using sarge) Thanks Joao Clemente -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: sarge gdm language entry, howto add language?
Le Thu, Nov 18, 2004 at 02:52:22PM +, Joao Clemente ecrit : Is there any workaround known, so that I can have a interface language chooser in gdm/kdm/whatever that changes the language displayed by kde? It might be possible to set and export the LANG environement variable somewhere in /etc/environement or in the /etc/X/gdm scripts. Fanfan -- On ne se retourne pas quand on marche sur la corde du rĂªve. [Fatou Diome] signature.asc Description: Digital signature
Re: sarge gdm language entry, howto add language?
Francois Cerbelle wrote: Le Thu, Nov 18, 2004 at 02:52:22PM +, Joao Clemente ecrit : Is there any workaround known, so that I can have a interface language chooser in gdm/kdm/whatever that changes the language displayed by kde? It might be possible to set and export the LANG environement variable somewhere in /etc/environement or in the /etc/X/gdm scripts. Fanfan Merci Francois, .. I had already tried this (or emulated this) and it seemed to do nothing... gdm in fact sets the LANG variable, but KDE (at least in sarge) seems to ignore it.. I tried it like this: opened up konsole, checked LANG by doing env | grep LANG ... 1 - LANG was set to C, I started a konqueror from that console, it started with a portuguese interface... (I had defined in kde control center to use portuguese) 2 - exported LANG=en_US and started konqueror... it also started with portuguese... So I concluded that KDE is ignoring LANG and using some internal value (not even environment variables as env displays nothing with pt values) ? Toughts ? Maybe we need to setup kde with multiple possibilites in control center, so that he reads LANG? Joao Clemente -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: sarge gdm language entry, howto add language?
On Thu, 18 Nov 2004 13:18:57 +, Joao Clemente wrote: Hi. Can someone please tell me how to add a language entry to gdm Language option? I have googled and saw a dscussion where it seemed that this was hardcoded in gdm, what does not makes sense to me.. [..] Try dpkg-reconfigure locales. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: sarge gdm language entry, howto add language?
Le Thu, Nov 18, 2004 at 03:12:28PM +, Joao Clemente ecrit : I had already tried this (or emulated this) and it seemed to do nothing... gdm in fact sets the LANG variable, but KDE (at least in sarge) seems to ignore it.. I tried it like this: opened up konsole, checked LANG by doing env | grep LANG ... 1 - LANG was set to C, I started a konqueror from that console, it started with a portuguese interface... (I had defined in kde control center to use portuguese) 2 - exported LANG=en_US and started konqueror... it also started with portuguese... So I concluded that KDE is ignoring LANG and using some internal value (not even environment variables as env displays nothing with pt values) ? Toughts ? Maybe we need to setup kde with multiple possibilites in control center, so that he reads LANG? Maybe KDE use the following algorithm : IF KDELanguage == Default (or C or POSIX or NULL) THEN KDELanguage - LANG ELSE nothing FI so, try the same tests, but without forcing the language in the control panel (setting language to default) Maybe KDE dont use LANG but LC_* environement variables. I dont thinkg so. Francois -- Le mariage des esprits est plus grand que celui des corps. [Didier Erasme] signature.asc Description: Digital signature