bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: gettext can't find .po file in po/ directory


From: Bruno Haible
Subject: Re: gettext can't find .po file in po/ directory
Date: Mon, 12 Sep 2005 22:47:05 +0200
User-agent: KMail/1.5

haibin zhang wrote:
>     I found a problem in Linux(Fedora core 1 and
> Fedora core 4) that gettext can't find .po file in po/
> directory!

Hello,

The error message lines that you sent were badly truncated, therefore I
can only guess the problem. Normally, the po/LINGUAS file contains a list
of locale names for which translations are available. That means, if the
file contains 'zh_TW', you should have a file po/zh_TW.po. Now, it seems
like your po/LINGUAS file contains tokens or escape characters that are
not whitespace and that are therefore being interpreted as a locale name.
Take a close look at your po/LINGUAS file, and try to view it with a
reliable editor such as 'vim'... Or take a hexdump of it:

  $ hexdump -e '"%06.6_ax  " 16/1 "%02X "' -e '"  " 16/1 "%_p" "\n"' po/LINGUAS

Just a guess.

Bruno





reply via email to

[Prev in Thread] Current Thread [Next in Thread]