[GRASS-dev] [GRASS GIS] #1127: new nViz tcl messages are not indicated for gettext

#1127: new nViz tcl messages are not indicated for gettext
-------------------------+--------------------------------------------------
Reporter: naokiueda | Owner: grass-dev@…
     Type: task | Status: new
Priority: normal | Milestone: 6.4.1
Component: NVIZ | Version: 6.4.0 RCs
Keywords: | Platform: MSWindows 7
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
We are GRASS Japanese translation team in Osaka city university.
In latest version, nViz module can not be translated into Japanese.

We have translated nViz in old version with message file, 'ja.msg', but I
couldn't see corresponding message file in latest code here.
http://trac.osgeo.org/grass/browser/grass/tags/release_20100320_grass_6_4_0RC6/visualization

Currently we have no way to translate nViz module.

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

#1127: new nViz tcl messages are not indicated for gettext
-------------------------+--------------------------------------------------
Reporter: naokiueda | Owner: grass-dev@…
     Type: task | Status: new
Priority: normal | Milestone: 6.4.1
Component: NVIZ | Version: 6.4.0 RCs
Keywords: | Platform: MSWindows 7
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by neteler):

I see that in GRASS 6.1 NVIZ was translated to Japanese:

http://trac.osgeo.org/grass/browser/grass/branches/releasebranch_6_1/locale/po/grasstcl_ja.po

I wonder why the current grasstcl_*.po files do not contain (any more?)
NVIZ strings, say, could this be fixed?

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

#1127: new nViz tcl messages are not indicated for gettext
-------------------------+--------------------------------------------------
Reporter: naokiueda | Owner: grass-dev@…
     Type: task | Status: new
Priority: major | Milestone: 6.4.1
Component: Tcl/Tk NVIZ | Version: 6.4.0 RCs
Keywords: | Platform: MSWindows 7
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
Changes (by naokiueda):

  * priority: normal => major

Comment:

In new NVIZ nodule, text is hard-coded and no way to translating to
environment language.

text should not be hard coded.

Since we need to translate GRASS into Japanese, if have no choice but
creating a branch version by replacing with translated Japanese text.
However, this is not a good way.

I think for other language version has the same problem.

So I would like to increase this priority.

Thanks.

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

#1127: new nViz tcl messages are not indicated for gettext
-------------------------+--------------------------------------------------
Reporter: naokiueda | Owner: grass-dev@…
     Type: task | Status: new
Priority: major | Milestone: 6.4.1
Component: Tcl/Tk NVIZ | Version: 6.4.0 RCs
Keywords: | Platform: All
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
Changes (by marisn):

  * platform: MSWindows 7 => All

Comment:

I have started to mark messages for translation in NVIZ. Compile recent
develbranch (6.5 r44588); cd locale; make pot; (only at first time) cp
templates/grassnviz.pot po/grassnviz_ja.po; translate that file; make mo;
test in NVIZ. In future replace "cp" step with "make update-po".

Not all strings are extracted for translation, as it takes some time to go
over code to find strings. Report any issues at this bug.

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

#1127: new nViz tcl messages are not indicated for gettext
-------------------------+--------------------------------------------------
Reporter: naokiueda | Owner: grass-dev@…
     Type: task | Status: new
Priority: major | Milestone: 6.4.1
Component: Tcl/Tk NVIZ | Version: 6.4.0 RCs
Keywords: | Platform: All
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by neteler):

Maris, what are your backport plans for 6.4?

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

#1127: new nViz tcl messages are not indicated for gettext
-------------------------+--------------------------------------------------
Reporter: naokiueda | Owner: grass-dev@…
     Type: task | Status: new
Priority: major | Milestone: 6.4.1
Component: Tcl/Tk NVIZ | Version: 6.4.0 RCs
Keywords: | Platform: All
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by marisn):

Work is not yet finished. It will need serious testing to see if I haven't
broken anything. In some places it's tricky to extract messages as english
texts are used also to keep application state and not only to display it
to user. For this reason I had such large delay till I figured out how to
hack around BWidget ComboBox without breaking backwards compatability.

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