[GRASS-dev] Re: [GRASS GIS] #882: i18n enabled winGRASS: properties dialog not opening

GRASS GIS trac at osgeo.org
Fri Jan 22 10:30:53 EST 2010


#882: i18n enabled winGRASS: properties dialog not opening
----------------------+-----------------------------------------------------
  Reporter:  neteler  |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect   |      Status:  new                      
  Priority:  blocker  |   Milestone:  6.4.0                    
 Component:  wxGUI    |     Version:  svn-releasebranch64      
Resolution:           |    Keywords:  wingrass                 
  Platform:  All      |         Cpu:  x86-32                   
----------------------+-----------------------------------------------------
Comment (by glynn):

 Replying to [comment:8 neteler]:

 > > Are the descriptions encoded in EUC-JP or in UTF-8?
 >
 > The grass*_ja.po files are in UTF8.

 That's not what I'm asking. Is the text in the <description> and <label>
 elements in the --interface-description output encoded in EUC-JP or in
 UTF-8? If it's EUC-JP, then the header should say encoding=EUC-JP. If it's
 in UTF-8, the header should say encoding=UTF-8.

 > I did not have success with encoding=EUC-JP while the .po files are in
 UTF8. Same of course for encoding=CP932.

 The encoding of the .po files is irrelevant. `dgettext()` converts the
 strings from the .mo files to the locale's encoding, so that you don't
 need separate .mo files for e.g. LANG=ja_JP (Japanese, EUC-JP) and
 LANG=ja_JP.utf-8 (Japanese, UTF-8).

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/882#comment:9>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list