[GRASS-user] Set language in Linux

Gilbert Ferrara gilbertferrara1974 at gmail.com
Tue Feb 2 04:41:20 EST 2010


Thank you Glynn.
For instance If I want to have 2 language sets available for a user, can
have two different bash_profiles? I mean have grass64eng for english
language and grass64sp for Spanish?
And are there any rules regarding bash_profiles files?

Thanks
Gilbert


>
> These would normally be set in e.g. ~/.profile (or ~/.bash_profile
> etc; there are quite a lot of files which may be read by the shell)
> then inherited by all processes.
>
> Setting environment variables in Unix is done with e.g.:
>
>        LANG=es_ES
>        export LANG
>
> I'd advise against using LC_ALL, as it overrides LC_NUMERIC. This can
> cause numbers to use a comma as the decimal separator, which is
> problematic when writing files (most file formats require a period).
>
> GRASS modules only use the LC_MESSAGES category directly, but some
> programs and (especially) scripts invoke external programs which may
> be affected by the LC_NUMERIC or LC_ALL settings (scripts which use
> awk are prone to this, although I think that we have now found them
> all and forced LC_NUMERIC=C).
>
> --
> Glynn Clements <glynn at gclements.plus.com>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20100202/d7546dc4/attachment.html


More information about the grass-user mailing list