[GRASS-dev] Messing with locale during start-up in r53620

Martin Landa landa.martin at gmail.com
Tue Nov 13 09:38:09 PST 2012


Hi,

2012/11/12 Maris Nartiss <maris.gis at gmail.com>:
> Hello,
> OK, I missed the bashrc change, still it seems that GRASS is
> interfering with locale where it shouldn't:
> Set language to "system" == no entry in rc or bashrc
> LANG=garbage bin.x86_64-unknown-linux-gnu/grass70
>
> Satīra pagaidu failus...
> Startē GRASS GIS...
> Failed to set LC_ALL to garbage.UTF-8 (unsupported locale setting)
>
> ^^^ WTF?!? I didn't asked GRASS to touch anything locale related!

you asked to use 'garbage' locales which failed. I would expect it. In
this case system settings should be used.

> Also for some reason it isn't using the user provided language for
> startup messages. Here's an example:
> bin.x86_64-unknown-linux-gnu/grass70
> Satīra pagaidu failus...
> Startē GRASS GIS...
> Failed to set LC_ALL to de_DE.UTF-8 (unsupported locale setting) <---
> this is correct message, as I don't have de_DE
>
> GUI comes up in de, still "Satīra pagaidu failus" isn't de nor
> C/POSIX. I translated that string as "TEXT IN GERMAN", still it comes
> up in system LANG.

I would assume that your default locale is different from C/POSIX.

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa


More information about the grass-dev mailing list