Opened 14 years ago
Closed 13 years ago
#1127 closed task (fixed)
new nViz tcl messages are not indicated for gettext
Reported by: | naokiueda | Owned by: | marisn |
---|---|---|---|
Priority: | major | Milestone: | 6.4.1 |
Component: | Tcl/Tk NVIZ | Version: | 6.4.0 RCs |
Keywords: | Cc: | ||
CPU: | Unspecified | Platform: | All |
Description
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.
Change History (9)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
Priority: | normal → major |
---|
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.
comment:3 by , 14 years ago
Platform: | MSWindows 7 → All |
---|
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.
comment:5 by , 14 years ago
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.
comment:6 by , 14 years ago
Owner: | changed from | to
---|
Most of NVIZ now should be extracted for translation. Do some translation and play around with NVIZ to see how it works.
There still are some strings untranslable as BWidgets are not (yet) prepeared for string extraction.
If there are any problems or strings not extracted for translation, add comments here.
comment:7 by , 14 years ago
The backported message extraction is now available in 6.4.SVN for DE and JA languages:
http://trac.osgeo.org/grass/browser/grass/branches/releasebranch_6_4/locale/po
-> grassnviz_de.po
-> grassnviz_ja.po
While nviz translations may start, these message catalogues may be better added to grasstcl_XX.po?
comment:9 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Replying to hamish:
does this relate to #1551?
No. #1551 was a missed case while fixing this issue. This issue is solved by 99% and only BWidgets part is missing. As translated messages seem to work in NVIZ, I'm closing it. If somebody is really interested in some left untranslated messages, he should open a new bug report.
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?