[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FW: Question on usage of gettext
From: |
Bruno Haible |
Subject: |
Re: FW: Question on usage of gettext |
Date: |
Thu, 10 Dec 2020 17:05:25 +0100 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-193-generic; KDE/5.18.0; x86_64; ; ) |
Hi,
Rodney Courtney wrote in
<https://lists.gnu.org/archive/html/bug-gettext/2020-11/msg00030.html>:
> We are on AIX 7.1
> We are calling gettext in Bourne Shell
> When we go to pull a message back with gettext on some languages we only get
> the ID back.
> These languages happen to be Chinese, Japanese, Korean and Russian.
> I have confirmed the messages actual exist in the PO file for each language.
> Other languages such as English, Italian, Swedish return the same message
> fine.
Indeed, AIX has a couple of locale names that GNU gettext did not support
so far. Such as for Chinese:
zh_Hans_CN.UTF-8
zh_Hans_SG.UTF-8
zh_Hant_HK.UTF-8
zh_Hant_TW.UTF-8
I have now added support for these locale names. [1]
But regarding Japanese, Korean, Russian, this can't have been the problem.
Please make sure that the locale name that you have specified (such as
ja_JP.UTF-8, ko_KR.UTF-8, ru_RU.UTF-8) is listed among the output of
'locale -a'.
Bruno
[1]
https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commitdiff;h=68fce701270d13d077444dec865ae212eb9a56c2
- Re: FW: Question on usage of gettext,
Bruno Haible <=