[GRASS-user] Set language in Linux

Markus Neteler neteler at osgeo.org
Wed Feb 3 09:31:44 EST 2010


On Wed, Feb 3, 2010 at 1:35 PM, Gilbert Ferrara
<gilbertferrara1974 at gmail.com> wrote:
> I just want to provide GRASS64 in two languages and without the user has to
> define lang in the bash_profiles.
> My idea was to create 2 files: grass64eng and grass64sp each one with
> different language sets. So the user would have only to select the adequate
> file.


I would create

grass64eng
       export LANG=en_US
       export LANGUAGE=en_US
       export LC_MESSAGES=en_US
       grass64 "$@"

grass64sp
       export LANG=es_ES
       export LANGUAGE=es_ES
       export LC_MESSAGES=es_ES
       grass64 "$@"


(or, if applies es_ES.UTF-8 instead of es_ES).

Hope this helps,
Markus


More information about the grass-user mailing list