1.7.7: Localization does not follow the language of the OS

Cyrille Lefevre cyrille.lefevre-lists@laposte.net
Thu Jan 13 11:29:00 GMT 2011


Le 11/01/2011 20:20, cornwarecjp@lavabit.com a écrit :
> Can you please tell me and others how to make an internationalized
> application in Cygwin that behaves as described in the first paragraph?
> I couldn't find an answer to this in the FAQ, the User's Guide, the
> mailing lists or Google.

Hi,

cygwin sets LANG through the system-wide /etc/profile.d/lang.sh script.

however, you may overide this in 2 way :
* system-wide by creating a script in /etc/profile.d, such as 0lang.sh
or zlang.sh containing export LANG="nl_NL.UTF-8"
* at user level by adding export LANG="nl_NL.UTF-8" in your
$HOME/.bash_profile

don't modify the system-wide lang.sh provided by cygwin since it may
envolve in the future.

Regards,

Cyrille Lefevre
-- 
mailto:Cyrille.Lefevre-lists@laposte.net









--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list