I would like to know if it's possible to have a script/function GRASS interface in order to change language. Instead of being set in the init.bat, the user would set in the GUI interface (e.g. Wxpython GUI File>Change Language)?
Thanks
Best regards,
Antonio Rocha
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4774 (20100115) __________
I would like to know if it's possible to have a script/function GRASS
interface in order to change language. Instead of being set in the init.bat,
the user would set in the GUI interface (e.g. Wxpython GUI File>Change
Language)?
I would appreciate to have this possibility.
Please file an enhancement request in trac for this.
I would like to know if it's possible to have a
script/function GRASS interface in order to change language.
Instead of being set in the init.bat, the user would set in
the GUI interface (e.g. Wxpython GUI File>Change Language)?
I would suggest to put it in Config->GRASS working environment->
I suppose it would have to be a g.gisenv GRASS variable not an
environment variable to work system-wide. But then we've have to
add some G_getenv() -> setenv() magic in G_parser() and the start
of wxgui.py?
I would like to know if it's possible to have a
script/function GRASS interface in order to change language.
Instead of being set in the init.bat, the user would set in
the GUI interface (e.g. Wxpython GUI File>Change Language)?
I would suggest to put it in Config->GRASS working environment->
I suppose it would have to be a g.gisenv GRASS variable not an
environment variable to work system-wide. But then we've have to
add some G_getenv() -> setenv() magic in G_parser() and the start
of wxgui.py?
AFAIK it would be ideal to read the "LANG" environment variable
and set wx.locale() from that. Perhaps trigger a wxGUI reload
then or tell the user to close/restart the wxGUI to take effect.
Like this switching would be easy.