This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 1.7.7: Localization does not follow the language of the OS


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]