[GRASS-dev] winGRASS: enabling non-english languages?

Markus Neteler neteler at osgeo.org
Tue Jan 19 02:27:13 EST 2010


On Tue, Jan 19, 2010 at 12:43 AM, Markus Neteler <neteler at osgeo.org> wrote:
> On Sat, Jan 16, 2010 at 6:42 AM, Glynn Clements
> <glynn at gclements.plus.com> wrote:
>> Markus:
>>> The point is that translations should be enabled
>>> also for CMD line usage which requires as far as I understand a change
>>> in Init.bat (?).
>>
>> On Windows, Init.bat should set LANG (or at least LC_MESSAGES and
>> LC_CTYPE). But LANG needs to be in Unix format (e.g. "ja_JP"), while
>> Windows provides a numeric code. So we need some way to get the
>> appropriate LANG value from the Windows locale setting.
>
> Thanks for r40533 which I have backported to 6.4 (r40540) and 6.5 (r40539).

When launching latest winGRASS-SVN (self compiled) in the MinGW shell,
the LANG and LC_MESSAGES are not set.
Do we need a similar change in Init.sh for MinGW?

Markus


More information about the grass-dev mailing list