#1504: NVIZ shows only English Menu
-------------------------+--------------------------------------------------
Reporter: Venkat | Owner: grass-dev@…
Type: defect | Status: new
Priority: blocker | Milestone: 6.4.2
Component: Default | Version: svn-trunk
Keywords: | Platform: MSWindows 7
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Tested with WinGRASS-6.4.SVN-r49327 and nviz2.2 (tcl/tk) menu is only in
English despite changing locale to ja, de etc.
#1504: NVIZ shows only English Menu
------------------------------------------+---------------------------------
Reporter: Venkat | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 6.4.2
Component: Translations | Version: svn-trunk
Keywords: tcl/tk, nviz, i18n, wingrass | Platform: MSWindows 7
Cpu: Unspecified |
------------------------------------------+---------------------------------
Comment(by Venkat):
nviz2.2 (tcl/tk) displays Japanese strings correctly (See attached image)
with OSGeo4W (GRASS6.4.2RC2). I had to edit the
apps/grass/grass-6.4.2RC2/etc/nviz2.2/msgs/ja.msg file and input Japanese
UTF-8 as ascii string.
The same does not work with WinGRASS-6.4.SVN-r49327 which displays nviz2.2
menu only in English. My guess is that the problem maybe with the tcl/tk
library in WinGRASS-6.4.SVN-r49327.
Hoping that solution can be found for helping nviz2.2 (tck/tk) translation
in WinGRASS-6.4.SVN too.
#1504: NVIZ shows only English Menu
------------------------------------------+---------------------------------
Reporter: Venkat | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 6.4.2
Component: Packaging | Version: svn-trunk
Keywords: tcl/tk, nviz, i18n, wingrass | Platform: MSWindows 7
Cpu: Unspecified |
------------------------------------------+---------------------------------
Changes (by marisn):
* component: Translations => Packaging
Comment:
This is a packaging issue, as my installed nightly native WinGRASS 6.4
lacks msgcat support and thus all tcl/tk should be only in English.
How to check that:
go to C:\program files\grass 6.4 svn\tcl-tk\bin
start tclsh.exe
type in: "package require msgcat" (without quotes)
if the answer is "can't find package", Your tcl/tk installation is missing
it's core functionality.
#1504: NVIZ shows only English Menu
------------------------------------------+---------------------------------
Reporter: Venkat | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 6.4.2
Component: Packaging | Version: svn-trunk
Keywords: tcl/tk, nviz, i18n, wingrass | Platform: MSWindows 7
Cpu: Unspecified |
------------------------------------------+---------------------------------
Comment(by Venkat):
MarisN, thanks for the insight. Yes, in the native WinGRASS-6.4.2RC2
"msgcat cannot be found". Hope msgcat support will be included in tcl/tk
installation for WinGRASS-6.4.2.
#1504: NVIZ shows only English Menu
------------------------------------------+---------------------------------
Reporter: Venkat | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 6.4.2
Component: Packaging | Version: svn-trunk
Keywords: tcl/tk, nviz, i18n, wingrass | Platform: MSWindows 7
Cpu: Unspecified |
------------------------------------------+---------------------------------
Comment(by marisn):
Markus, gettext is OK. I can also see translated messages coming from the
C part of GRASS. Issue is caused by a broken TCL version shipped with
WinGRASS nightly. It lacks one of TCL core components - msgcat, that
provides internationalization support for TCL code. It's easy to spot this
issue - just ask for msgcat in any TCL script/shell like: "package require
msgcat"
#1504: NVIZ shows only English Menu
------------------------------------------+---------------------------------
Reporter: Venkat | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 6.4.2
Component: Packaging | Version: svn-trunk
Keywords: tcl/tk, nviz, i18n, wingrass | Platform: MSWindows 7
Cpu: Unspecified |
------------------------------------------+---------------------------------
Comment(by neteler):
To check, I have downloaded a snapshot from http://wingrass.fsv.cvut.cz/grass64/
and looked into C:\Programmi\GRASS 6.4.SVN\extrabin\ which contains the
"msgcat.exe".
Don't you have it in GRASS 6.4.SVN\extrabin\? If yes, then the binary is
there but
not seen from Tcl.. (?)
#1504: NVIZ shows only English Menu
------------------------------------------+---------------------------------
Reporter: Venkat | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 6.4.2
Component: Packaging | Version: svn-trunk
Keywords: tcl/tk, nviz, i18n, wingrass | Platform: MSWindows 7
Cpu: Unspecified |
------------------------------------------+---------------------------------
Comment(by marisn):
Markus, I repeat. There are no problems with gettext. msgcat.exe is
provided by gettext and has nothing to do with this issue. This issue
comes from the lack of msgcat-VERSION.tm file (present in ActiveState
TCL).
Replying to [comment:10 neteler]:
> To check, I have downloaded a snapshot from http://wingrass.fsv.cvut.cz/grass64/
> and looked into C:\Programmi\GRASS 6.4.SVN\extrabin\ which contains the
"msgcat.exe".
>
> Don't you have it in GRASS 6.4.SVN\extrabin\? If yes, then the binary is
there but
> not seen from Tcl.. (?)
#1504: NVIZ shows only English Menu
------------------------------------------+---------------------------------
Reporter: Venkat | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 6.4.2
Component: Packaging | Version: svn-trunk
Keywords: tcl/tk, nviz, i18n, wingrass | Platform: MSWindows 7
Cpu: Unspecified |
------------------------------------------+---------------------------------
Comment(by marisn):
Replying to [comment:13 Venkat]:
> Replying to [comment:12 neteler]:
> > Then I would suggest to package winGRASS with Activestate TCL as it
> > seems to be done in OSGeo4W.
>
> MarisN, can you please clarify if this would help overcome "lack of
msgcat-VERSION.tm" in winGRASS package.
>
> Thanks in advance.
>
I'm not an expert on TCL packaging on Windows. I just checked that
Activestate provided TCL version has msgcat support. Still it's strange
that WinGRASS version doesn't as it is considered to be a part of TCL core
functionality. Other option is to examine WinGRASS TCL packaging procedure
to find out why msgcat is missing as normally it should be present.
#1504: NVIZ shows only English Menu
------------------------------------------+---------------------------------
Reporter: Venkat | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 6.4.2
Component: Packaging | Version: svn-trunk
Keywords: tcl/tk, nviz, i18n, wingrass | Platform: MSWindows 7
Cpu: Unspecified |
------------------------------------------+---------------------------------
Comment(by venkat):
Replying to [comment:15 jef]:
> Replying to [comment:12 neteler]:
> > Then I would suggest to package winGRASS with Activestate TCL as it
> > seems to be done in OSGeo4W.
>
> OSGeo4W doesn't ship Activestate TCL - as they don't allow
redistribution. IIRC I think I did an own build.
If you can suggest your build options for TCL on OSGeo4W, maybe rebuilding
TCL will the same options for WinGRASS TCL should do the trick.
#1504: NVIZ shows only English Menu
------------------------------------------+---------------------------------
Reporter: Venkat | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 6.4.2
Component: Packaging | Version: svn-trunk
Keywords: tcl/tk, nviz, i18n, wingrass | Platform: MSWindows 7
Cpu: Unspecified |
------------------------------------------+---------------------------------
Comment(by hellik):
Replying to [comment:11 marisn]:
> Markus, I repeat. There are no problems with gettext. msgcat.exe is
provided by gettext and has nothing to do with this issue. This issue
comes from the lack of msgcat-VERSION.tm file (present in ActiveState
TCL).
just searched within my osgeo4w-build-tree here, there is
C:\OSGeo4W\lib\tcl8\8.5\msgcat-1.4.2.tm
would this be enough if included in osgeo4w-based-wingrass?
#1504: NVIZ shows only English Menu
------------------------------------------+---------------------------------
Reporter: Venkat | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 6.4.2
Component: Packaging | Version: svn-trunk
Keywords: tcl/tk, nviz, i18n, wingrass | Platform: MSWindows 7
Cpu: Unspecified |
------------------------------------------+---------------------------------
Comment(by hellik):
Replying to [comment:17 hellik]:
> Replying to [comment:11 marisn]:
> > Markus, I repeat. There are no problems with gettext. msgcat.exe is
provided by gettext and has nothing to do with this issue. This issue
comes from the lack of msgcat-VERSION.tm file (present in ActiveState
TCL).
>
> just searched within my osgeo4w-build-tree here, there is
>
> C:\OSGeo4W\lib\tcl8\8.5\msgcat-1.4.2.tm
>
> would this be enough if included in osgeo4w-based-wingrass?
and where should msgcat-1.4.2.tm be in?
at the moment we have
i.e.
C:\Program Files\GRASS 6.5.SVN\tcl-tk\lib\tcl8.5
C:\Program Files\GRASS 6.5.SVN\tcl-tk\lib\tk8.5