Skip to content Skip to sidebar Skip to footer

How To Set Lang Variable In Windows?

I'm making an application that supports multi language. And I am using gettext and locale to solve this issue. How to set LANG variable in Windows? In Linux and Unix-like systems

Solution 1:

Windows locale support doesn't rely on LANG variable (or, indeed, any other environmental variable). It is whatever the user set it to in Control Panel.

Solution 2:

you can use a batch file like in here: http://www.geany.org/Documentation/FAQ#QQuestions11

set LANG=en_US
something.exe

or set it through the control panel / system / advanced system settings / advanced / environmental variables

Post a Comment for "How To Set Lang Variable In Windows?"