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



Hi.

Napísané dňa 27.01.2002 22:05:22 +0100, (autor: Fatih Demir):
> On Sun, 2002-01-27 at 21:39, Marcel Telka wrote:
>    We have translated gtranslator into slovak language (sk) and we have
> this problem:
> 
>    $ intltool-update sk
>    Working, please wait..............................................
> done.
>    internationalized messages should not contain the `\b' escape sequence
> 
> But this '\b' isn't from a gtranslator message -- msgid's should be
> without any such escaped chars.

Ok. This '\b' is another problem in sk.po file (and will be fixed in CVS 
ASAP), but ...

... I've tested this:

$ head -n14 sk.po > xx.po
$ echo src/zpmd.h > POTFILES.in
$ intltool-update xx
Working, please wait.... done.
invalid multibyte sequence
invalid multibyte sequence
xx.po: warning: Charset missing in header.
                 Message conversion to user's charset will not work.
0 translated messages, 1 untranslated message.

$ cat xx.po # Slovak translation of gtranslator.
# Copyright (C) 2002 Free Software Foundation, Inc.
# Martin Lacko <lacko@host.sk>, 2002.
#
msgid ""
msgstr ""
"Project-Id-Version: gtranslator\n"
"POT-Creation-Date: 2002-01-28 08:23+0100\n"
"PO-Revision-Date: 2002-01-18 19:17CEST\n"
"Last-Translator: Martin Lacko <lacko@host.sk>\n"
"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#.
#. * 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.
#.
#: src/zpmd.h:38
msgid ""
msgstr ""



... and we have two empty msgids ... :-(

So, where is the problem? I'm using gettext-0.10.38 and intltool-0.12.

Note: With charset=iso-8859-2 in header all works ok.

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]