This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: 1.7.7: Localization does not follow the language of the OS
- From: Cyrille Lefevre <cyrille dot lefevre-lists at laposte dot net>
- To: cygwin at cygwin dot com
- Date: Wed, 12 Jan 2011 23:25:13 +0100
- Subject: Re: 1.7.7: Localization does not follow the language of the OS
- References: <44682.83.86.0.251.1294773608.squirrel@lavabit.com>
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