Re: suggestion (was Re: 1.7.7: Localization does not follow the language of the OS)

2011-01-12 Thread Corinna Vinschen
On Jan 12 18:47, cornware...@lavabit.com wrote: > > The official way to set the locale is to use the locale(1) tool, see the > > User's Guide http://cygwin.com/cygwin-ug-net/using-utils.html#locale > > > > export LANG=`locale -u` setenv LANG `locale -u` > > export LANG=`locale -s` s

Re: suggestion (was Re: 1.7.7: Localization does not follow the language of the OS)

2011-01-12 Thread Andy Koppe
On 12 January 2011 17:47, cornwarecjp wrote: >> The official way to set the locale is to use the locale(1) tool, see the >> User's Guide http://cygwin.com/cygwin-ug-net/using-utils.html#locale >> >>   export LANG=`locale -u`       setenv LANG `locale -u` >>   export LANG=`locale -s`       setenv LA

Re: suggestion (was Re: 1.7.7: Localization does not follow the language of the OS)

2011-01-12 Thread cornwarecjp
> The official way to set the locale is to use the locale(1) tool, see the > User's Guide http://cygwin.com/cygwin-ug-net/using-utils.html#locale > > export LANG=`locale -u` setenv LANG `locale -u` > export LANG=`locale -s` setenv LANG `locale -s` > > or better > > export LANG=`lo

Re: suggestion (was Re: 1.7.7: Localization does not follow the language of the OS)

2011-01-12 Thread Corinna Vinschen
On Jan 12 14:54, Matthias Andree wrote: > Am 12.01.2011 11:55, schrieb Corinna Vinschen: > > >> export LANG="$(locale -uU)"# (or -sU for system default locale) > > > > It's just another way to express the same. Backticks are not obsolete. > > The backtick style is exactly as much POSIX as th

Re: suggestion (was Re: 1.7.7: Localization does not follow the language of the OS)

2011-01-12 Thread Matthias Andree
Am 12.01.2011 11:55, schrieb Corinna Vinschen: >> export LANG="$(locale -uU)"# (or -sU for system default locale) > > It's just another way to express the same. Backticks are not obsolete. > The backtick style is exactly as much POSIX as the $() style. See > http://pubs.opengroup.org/online

Re: suggestion (was Re: 1.7.7: Localization does not follow the language of the OS)

2011-01-12 Thread Corinna Vinschen
On Jan 12 11:07, Matthias Andree wrote: > Am 12.01.2011 10:59, schrieb Corinna Vinschen: > > On Jan 12 01:50, Cyrille Lefevre wrote: > >> > >> Hi > >> > >> an interresting registry entry would be : > >> > >> /proc/registry/HKEY_CURRENT_USER/Control Panel/International/LocaleName > >> > >> in fr

Re: suggestion (was Re: 1.7.7: Localization does not follow the language of the OS)

2011-01-12 Thread Matthias Andree
Am 12.01.2011 10:59, schrieb Corinna Vinschen: > On Jan 12 01:50, Cyrille Lefevre wrote: >> >> Hi >> >> an interresting registry entry would be : >> >> /proc/registry/HKEY_CURRENT_USER/Control Panel/International/LocaleName >> >> in france, under vista, it's fr-FR which is easy to translate to

Re: suggestion (was Re: 1.7.7: Localization does not follow the language of the OS)

2011-01-12 Thread Corinna Vinschen
On Jan 12 01:50, Cyrille Lefevre wrote: > > Hi > > an interresting registry entry would be : > > /proc/registry/HKEY_CURRENT_USER/Control Panel/International/LocaleName > > in france, under vista, it's fr-FR which is easy to translate to > fr_FR.UTF-8... > > how about to integrate something li

suggestion (was Re: 1.7.7: Localization does not follow the language of the OS)

2011-01-11 Thread Cyrille Lefevre
Hi an interresting registry entry would be : /proc/registry/HKEY_CURRENT_USER/Control Panel/International/LocaleName in france, under vista, it's fr-FR which is easy to translate to fr_FR.UTF-8... how about to integrate something like this in lang.sh : [ -n "${LC_ALL:-${LC_CTYPE:-$LANG}}" ] &