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

Hamish hamish_nospam at yahoo.com
Tue Mar 1 18:05:05 EST 2005


On Tue, 1 Mar 2005 17:49:30 +0100
Lorenzo Moretti <lorenzo.moretti at bologna.enea.it> wrote:

> Hi all
> 
> This is a little method to start GRASS with a different language than
> default
> 
> The language now is only for commands and message not for menu and 
> it's not complete... (only de thank to Markus)
> 
> Edit the startup file with name grass60 with your text editor.
> Example in 6.0.cvs:
> in Unix/CygWin the file is /usr/local/grass-6.0.cvs/grass60
> in OSX-X11 the file is 
> /Applications/Grass/grass60cvs.app/Contents/Resources/grass-6.0.cvs/g
> rass60 in OSX-Aqua the file is 
> /Applications/Grass/grass60cvs.app/Contents/Resources/grassx-6.0.cvs/
> grass60
> 
> 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.
> 
> In future will be possible to translate Michael Barton' GIS Manager 
> (d.m.tcl and menu.tcl) with an if for the choice.


Isn't it easier/better to put this in ~/.grass.bashrc or ~/.grass.cshrc?

Or does that not work?


Hamish




More information about the grass-user mailing list