bug-gettext
[Top][All Lists]
Advanced

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

Re: How to make locale settings more robust


From: Bruno Haible
Subject: Re: How to make locale settings more robust
Date: Sat, 10 Jun 2023 02:18:29 +0200

Anadon wrote:
> where I would search for this documentation.

https://www.gnu.org/software/gettext/manual/html_node/Setting-the-POSIX-Locale.html

> locale -a yields
> ```
> C
> C.utf8
> en_AG
> en_AG.utf8
> en_AU.utf8
> en_BW.utf8
> en_CA.utf8
> en_DK.utf8
> en_GB.utf8
> en_HK.utf8
> en_IE.utf8
> en_IL
> en_IL.utf8
> en_IN
> en_IN.utf8
> en_NG
> en_NG.utf8
> en_NZ.utf8
> en_PH.utf8
> en_SG.utf8
> en_US.utf8
> en_ZA.utf8
> en_ZM
> en_ZM.utf8
> en_ZW.utf8
> POSIX
> uk_UA.utf8
> ```

This shows that your system has one Ukrainian locale, named uk_UA.UTF-8.

> I am trying to get the locale strings "uk", "uk_UA", and "uk_UA.utf8"
> to all work similarly.  Currently, only the latter works.

That's expected. You don't have a locale "uk" or "uk_UA" installed.
And you don't need to. The one locale that you have, uk_UA.UTF-8,
is entirely sufficient.

> more robust

Your concept of "robustness" does not apply here.

Bruno






reply via email to

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