[GRASS-dev] [GRASS GIS] #2696: Set language in GRASS-7.0.0

#2696: Set language in GRASS-7.0.0
--------------------------+-------------------------
Reporter: Biz | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.1
Component: Default | Version: 7.0.0
Keywords: Set language | CPU: Unspecified
Platform: MSWindows 7 |
--------------------------+-------------------------
Hi, I have not reported software difficulties before so apologies if I am
doing it wrong. I did see this issue reported following a normal google
search, but I could not see how to plus one the report. I have pasted the
message here in case it helps too.

------------------------------
Hi,

2015-02-25 15:49 GMT+01:00 Venkatesh Raghavan <raghavan at media.osaka-
cu.ac.jp>:
> GException
> Traceback (most recent call last):
> File "C:\Program Files (x86)\GRASS GIS
> 7.0.0\gui\wxpython\gui_core\preferences.py", line 178, in
> OnSave
>
> self.settings.SaveToFile()
> File "C:\Program Files (x86)\GRASS GIS
> 7.0.0\gui\wxpython\core\settings.py", line 1032, in
> SaveToFile
>
> 'detail' : e })
> core.gcmd
> .
> GException
>
> Any suggestions for fixing this?

hm, I cannot reproduce this error on Czech Windows (switching from
Czech to English). So probably it could be related to JP environment
(?) ...

Martin

--
Martin Landa
-----------------------------------

I too have the issue on my Japanese work computer. I have most
programs/desktop set to English, but the system itself is still Japanese.
I installed WinGRASS-7.0.0-1-Setup (was not able to install the example
data with it though), and opened the program from the desktop shortcut.
Some parts of the opening windows were in Japanese, I clicked the button
to open the program proper (using the default locations etc), found the
setting to change the language and saved as en. I closed the windows but
when I reopened the program, the language was still Japanese (system). I
have included the error below and the system info.

Unfortunately I can't read much Japanese so navigating a program I am also
unfamiliar with is a bit beyond my capabilities. I would really appreciate
any help with this, and please let me know if I can provide more useful
information.
-----------------------------------
Traceback (most recent call last):
   File "C:\Program Files\GRASS GIS
7.0.0\gui\wxpython\gui_core\preferences.py", line 178, in
OnSave

self.settings.SaveToFile()
   File "C:\Program Files\GRASS GIS
7.0.0\gui\wxpython\core\settings.py", line 1032, in
SaveToFile

'detail' : e })
core.gcmd
.
GException

System Info
GRASS version: 7.0.0
GRASS SVN Revision: 64706
Build Date: 2015-01-20
Build Platform: i686-pc-mingw32
GDAL/OGR: 1.11.2
PROJ.4: 4.8.0
GEOS: 3.4.2
SQLite: 3.7.17
Python: 2.7.4
wxPython: 2.8.12.1
Platform: Windows-7-6.1.7601-SP1
-------------------------------

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2696&gt;
GRASS GIS <http://grass.osgeo.org>

#2696: Set language in GRASS-7.0.0
--------------------------+--------------------------
  Reporter: Biz | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.0.1
Component: Default | Version: 7.0.0
Resolution: | Keywords: Set language
       CPU: Unspecified | Platform: MSWindows 7
--------------------------+--------------------------

Comment (by marisn):

In meantime you could try to edit manually wx settings file. It should be
located in your user home folder, appdata/grass version/wx (those are
hidden folders - just search around for proper folder name, file is called
"wx").
Open that wx file with an text editor (notepad), find line starting with
"language" and replace it with:
{{{
language;locale;lc_all;C
}}}
Report back success or failure.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2696#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>