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

Lorenzo Moretti lorenzo.moretti at bologna.enea.it
Tue Mar 1 11:49:30 EST 2005


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/grass60
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.

Bye


-- 
________________________________________________________________________
||      Lorenzo Moretti        e-mail: lorenzo.moretti at bologna.enea.it     
||/|/|  ENEA prot/idr          Web: http://wwwamb.bologna.enea.it/    
||   |  via Don Fiammelli, 2   FTP: ftp://ftpamb.bologna.enea.it/ (ris.)
~~~~~~  40128 BOLOGNA - ITALY  Ph: +39-0516098086  Fax: +39-0516098131
________________________________________________________________________




More information about the grass-user mailing list