← Back to team overview

ubuntu-tour team mailing list archive

Re: Finishing packaging prep

 

2010/11/11 Alexander Lancey <alex@xxxxxxxxxxxxx>:
> 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     : ubuntu-tour@xxxxxxxxxxxxxxxxxxx
> 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



Follow ups

References