Problem with gtranslator and utf-8 (slovak and azeri translations)



Hi.

We have translated gtranslator into slovak language (sk) and we have this 
problem:

$ pwd
/var/cvs/gnome/gtranslator/po
$ msgfmt --stat -cvv sk.po 367 translated messages.
$ intltool-update sk
Working, please wait.............................................. done.
internationalized messages should not contain the `\b' escape sequence
invalid multibyte sequence
invalid multibyte sequence
sk.po: warning: Charset missing in header.
                 Message conversion to user's charset will not work.
361 translated messages, 5 fuzzy translations, 4 untranslated messages.


sk.po file uses charset utf-8 (az.po uses utf-8 too).


I think, this is problem in the new generated sk.po file:

#: src/zpmd.h:38
msgid ""
msgstr ""


This is from src/zpmd.h file:

/*
  * This is a middle dot (00B7 hexad.?) and represents the free space 
character
  *  if the gtranslator user wants to it so. It could be that the \xb7 
character
  *   is already reserved in your language (locale) for something more 
important
  *    so that you will probably change the value of the translation of 
this
  *     string so, that the translated string doesn't conflict with your 
locale.
  */
#define GTRANSLATOR_MIDDLE_DOT (_("\xb7")[0])




This problem is significant in GTP statistics too 
(http://developer.gnome.org/projects/gtp/status/extra/sk.shtml) - this 
statistics is broken :-(.

Please try fix this problem (conversion sk.po from utf-8 to native charset 
isn't good solution IMHO). Thanks.

Regards.

-- 
+-------------------------------------------+
| Marcel Telka   e-mail:   marcel@telka.sk  |
|                homepage: http://telka.sk/ |
|                jabber:   marcel@jabber.sk |
+-------------------------------------------+



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]