2010/11/11 Alexander Lancey <[email protected]>:
> I feel the best way to package tour media is to use .debs, and use
> runonstart scripts and or postinst scripts to install the user's language
> pack. Does anyone know how to detect the language? I tried reading the code
> and Googling, but no avail.
>
>     -Alex
> _______________________________________________
> Mailing list: https://launchpad.net/~ubuntu-tour
> Post to     : [email protected]
> Unsubscribe : https://launchpad.net/~ubuntu-tour
> More help   : https://help.launchpad.net/ListHelp
>
>

env will tell you :)

$ env | grep LANG
LANG=en_US.UTF-8
GDM_LANG=en_US.UTF-8

$ env | grep GDM
GDM_KEYBOARD_LAYOUT=us
GDM_LANG=en_US.UTF-8
GDMSESSION=gnome

not tested for KDE, XFCE, LXDE

-- 
Met vriendelijke groeten,
Keimpe de Jong

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-tour
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-tour
More help   : https://help.launchpad.net/ListHelp

Reply via email to