bug-gettext
[Top][All Lists]
Advanced

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

RE: FW: Question on usage of gettext


From: Rodney Courtney
Subject: RE: FW: Question on usage of gettext
Date: Thu, 10 Dec 2020 16:13:41 +0000

Thank you for the response.
Seems we do not have all the locales needed on our system.

-----Original Message-----
From: Bruno Haible <bruno@clisp.org>
Sent: Thursday, December 10, 2020 10:05 AM
To: Rodney Courtney <Rodney.Courtney@mouser.com>
Cc: bug-gnu-gettext@gnu.org
Subject: Re: FW: Question on usage of gettext

--Sent by External Sender: bruno@clisp.org

______________________________________________________________________
Hi,

Rodney Courtney wrote in
<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.gnu.org_archive_html_bug-2Dgettext_2020-2D11_msg00030.html&d=DwICAg&c=vY6N1du11amUSmqXT2U6Yqw6I-si6nWulSErsUHFzRg&r=AuY41A716KwiYdVpYdoQG5kcTXYT5Uv_igZa8lyyrGU&m=are7C0GH3v323fBOsdwjje8akPIfqWYhdSWew7cC98k&s=ei31lRnxXQVX_MomITfvhDQeBUUcvHOkJsqG5V5ewQU&e=
 >:
> 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://urldefense.proofpoint.com/v2/url?u=https-3A__git.savannah.gnu.org_gitweb_-3Fp-3Dgettext.git-3Ba-3Dcommitdiff-3Bh-3D68fce701270d13d077444dec865ae212eb9a56c2&d=DwICAg&c=vY6N1du11amUSmqXT2U6Yqw6I-si6nWulSErsUHFzRg&r=AuY41A716KwiYdVpYdoQG5kcTXYT5Uv_igZa8lyyrGU&m=are7C0GH3v323fBOsdwjje8akPIfqWYhdSWew7cC98k&s=Hgy25N_9iX0D_I3m7lx-sXa6IYIvAHJ84Gd4bTeFuWQ&e=



CONFIDENTIALITY. This electronic mail and any files transmitted with it may 
contain information proprietary to Mouser Electronics, Inc. or one of its 
subsidiaries or affiliates, and are intended solely for the use of the 
individual or entity to whom they are addressed, shall be maintained in 
confidence and not disclosed to third parties without the written consent of 
the sender. If you are not the intended recipient or the person responsible for 
delivering the electronic mail to the intended recipient, be advised that you 
have received this electronic mail in error and that any use, dissemination, 
forwarding, printing, or copying of this electronic mail is strictly 
prohibited. If you have received this electronic mail in error, please 
immediately notify the sender by return mail. Thank you for your compliance.



reply via email to

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