This is the mail archive of the libc-locales@sourceware.org mailing list for the GNU libc locales project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Is it possible to use lang@modifier, rather than lang_REGION@modifier?


[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]