[GRASSLIST:5977] Re: A simple method to start GRASS with a new language

Hamish hamish_nospam at yahoo.com
Wed Mar 2 20:34:37 EST 2005


> >>  At the beginning (row 23) before trap command add one row (in this
> >>  example de language)
> >>
> >>  export LANG=de_DE
> >>
> >>  Substitute de_DE with your language (cs_CS, es_ES, fr_FR, it_IT,
> >>  etc..)
> >>
> >>  after save and start Grass.
..
> >Isn't it easier/better to put this in ~/.grass.bashrc or
> >~/.grass.cshrc?
..
> 
> I think that grass60 file is more easy to find for many users versus 
> an invisible file like .grass.bashrc or .grassrc6... but all is 
> possible.

grass60 is a package file, often on multi-user systems this is mounted
on a read-only file system and on single user systems with write
permission probably shouldn't be messed with either. ~/.grass.bashrc
exists exactly for the purpose of adding startup options like "export
GRASS_WIDTH=x" or LANG=. I think it is easy to add a comment to the
i18n.html page telling users to do:

echo "export LANG=de_DE" >> ~/.grass.bashrc

to setup language support, even if they don't know what it all means.

Or if that is deemed to hard, someone could write a simple script to do it.


Hamish




More information about the grass-user mailing list