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: Anadon
Subject: Re: How to make locale settings more robust
Date: Sun, 11 Jun 2023 12:24:06 -0400

This is not helping me.  I  have a `po/` in a repo for which I need to
test the translations in.  I don't need any BS about listdir.

On Sat, Jun 10, 2023 at 7:46 PM Gunnar Hjalmarsson <ubuntu@gunnar.cc> wrote:
>
> On 2023-06-11 01:23, Anadon wrote:
> > ... I need to find out why `uk` and `uk_UA` are not working but 
> > `uk_UA.utf8`.
>
> Because you need to use a valid locale name to reference a locale. And
> that locale name in this case is uk_UA.UTF-8 (or the alias uk_UA.utf8).
>
> Your question sounds a little like "why do I have to use 'ls' to list
> the contents of a directory, while 'listdir' does not work?". :)
>
> Actually "uk_UA" does work in a sense, i.e. if you generate the uk_UA
> locale. But that locale enables KOI8-U encoding (for historical reasons)
> and is most likely not what you want.
>
> --
> Gunnar Hjalmarsson
> https://launchpad.net/~gunnarhj



reply via email to

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