This is the mail archive of the
libc-locales@sourceware.org
mailing list for the GNU libc locales project.
Re: Is it possible to use lang@modifier, rather than lang_REGION@modifier?
- From: Petter Reinholdtsen <pere at hungry dot com>
- To: Reshat Sabiq <sabiq at csociety dot org>
- Cc: libc-locales at sources dot redhat dot com
- Date: Sun, 28 Jan 2007 16:46:18 +0100
- Subject: Re: Is it possible to use lang@modifier, rather than lang_REGION@modifier?
- References: <Pine.LNX.4.44.0608270543450.28765-100000@csociety.ecn.purdue.edu>
[Reshat Sabiq]
> I'm a little fuzzy about this, as it appears that GLIBC documentation
> doesn't mentioned this as an option
> (http://www.student.uit.no/~pere/linux/glibc/howto.html), but i'm seeing,
> for instance,
> <description xml:lang="sr@Latn">Obična sa 101 tasterom</description>
> used in xorg.xml.
> This is despite the fact that
> http://cvs.gnome.org/viewcvs/gdm2/gui/gdmlanguages.c?rev=1.58&view=markup
> does contain the region code (_CS). locale.alias also does:
> sr_CS.UTF-8@Latn,sr_CS@Latn,sr_YU@Latn.
>
> Is sr@Latn possible, because GNU libc's setlocale() looks thru region
> codes that satisfy the modifier?
>
> I'm asking to see if i have to include region code, given that i have to
> use a modifier for my locale.
>
> P.S. Mozilla firefox and thunderbird apparently require a region code to
> use a modifier: http://wiki.mozilla.org/L10n:Simple_locale_names. But then
> again, if it's not required on Linux, maybe that page is also
> overly restrictive. But to ensure maximum compliance maybe i should
> include the region code even if'd rather not.
>
> I'd highly appreciate your feedback.
I do not know. But I believe it is a good idea to ask
libc-locales@@sources.redhat.com about this. Cc there.
Friendly,
--
Petter Reinholdtsen