https://bugzilla.redhat.com/show_bug.cgi?id=624158
--- Comment #20 from Mike FABIAN <mfabian(a)redhat.com> ---
(In reply to Mathieu Bridon from comment #17)
(In reply to comment #16)
> I don't know if anything's changed in terms of there being a central
> canonical upstream reference for providing the necessary relationship data
> in the last couple of years, but it may be worth checking, and if there
> isn't, even trying to kickstart one. Ubuntu is still using the LANGUAGE var,
> apparently, so they're presumably maintaining the data somewhere.
Didn't systemd take over this with localed?
This file gets set by localectl:
# cat /etc/locale.conf
LANG=en_HK.utf8
It even allows specifying the values following the fallback syntax from
above:
# localectl set-locale "LANG=en_HK.utf8:en_GB.utf8"
# cat /etc/locale.conf
LANG=en_HK.utf8:en_GB.utf8
I'm not sure whether or not this works though...
No, that does *not* work!:
mfabian@ari:~
$ LANG=en_HK.utf8:en_GB.utf8 locale charmap
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
ANSI_X3.4-1968
mfabian@ari:~
$
The correct way to specify a translation fallback from en_HK to en_GB is:
$ LANGUAGE=en_HK:en_GB LANG=en_HK.UTF-8 locale charmap
UTF-8
mfabian@ari:~
$
(assuming all LC_* variables are unset here)
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug
https://bugzilla.redhat.com/token.cgi?t=71oCBqn1jt&a=cc_unsubscribe