bug-gettext
[Top][All Lists]
Advanced

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

Re: Testing help for first translation


From: Bruno Haible
Subject: Re: Testing help for first translation
Date: Fri, 05 May 2023 07:10:15 +0200

Anadon wrote:
> I'm running into trouble on step 1.
> ...
> anadon@philosoraptor:~/Documents/code/primes$ LC_ALL=UK LC_MESSAGES=UK
> LC_CTYPE=UK LANG=UK LANGUAGE=UK gettext --help
> <English output>

The FAQ explains the cause:

"either
  - You have chosen a too exotic language. gettext is localized to 33 
languages. Choose a less exotic language, such as Galician or Ukrainian. Or
  - There is a problem with your environment variables. Possibly LC_ALL points 
to a locale that is not installed, or LC_MESSAGES and LC_CTYPE are 
inconsistent."

Consider also the description of locale names in
https://www.gnu.org/software/gettext/manual/html_node/Setting-the-POSIX-Locale.html

On GNU systems, "UK" is not a valid locale name. If you meant Ukrainian,
use "uk_UA.UTF-8". If you meant the United Kingdom, use "en_GB.UTF-8".

Bruno






reply via email to

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