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: Anadon
Subject: Re: Testing help for first translation
Date: Fri, 5 May 2023 16:35:10 -0400

Still not working as described.
```
anadon@Poymon:~$ LC_ALL=uk_UA.UTF-8 LC_MESSAGES=uk_UA.UTF-8
LC_CTYPE=uk_UA.UTF-8 LANG=uk_UA.UTF-8 LANGUAGE=uk_UA.UTF-8 gettext
--help > help1.txt
anadon@Poymon:~$ LC_ALL=uk_UA.UTF-8 LC_MESSAGES=uk_UA.UTF-8
LC_CTYPE=uk_UA.UTF-8 LANG=uk_UA.UTF-8 LANGUAGE=uk_UA.UTF-8 gettext
--version > version1.txt
anadon@Poymon:~$ LC_ALL=UK LC_MESSAGES=UK LC_CTYPE=UK LANG=UK
LANGUAGE=UK gettext --version > version2.txt
anadon@Poymon:~$ LC_ALL=UK LC_MESSAGES=UK LC_CTYPE=UK LANG=UK
LANGUAGE=UK gettext --help > help2.txt
anadon@Poymon:~$ diff help1.txt help2.txt
anadon@Poymon:~$ diff version1.txt version2.txt
anadon@Poymon:~$
```

On Fri, May 5, 2023 at 1:10 AM Bruno Haible <bruno@clisp.org> wrote:
>
> 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]