W3C home > Mailing lists > Public > www-international@w3.org > October to December 2002

RE: Asking about locale

From: Thierry Sourbier <ml@i18nGurus.com>
Date: Fri, 1 Nov 2002 01:02:57 +0100
To: "Truong Ngoc Truc Binh \(by way of Martin Duerst <duerst@w3.org>\)" <trngtrucbinh@yahoo.com>
Cc: <www-international@w3.org>
Message-ID: <AMEFKKHPAGEPOAOBAOBMOEIDCJAA.ml@i18nGurus.com>


Windows locales are different than POSIX and C locales. Windows uses what's
they call a LCID to reference locales. This is a 32-bit numeric constant
that is made up of 4 parts a PRIMARYLANGID, a SUBLANGID (that's allows
distinction between Australian English from Canadian English), a SORTID and
a SORTVERSION.

I haven't used them for quite a while now. You might find interesting the
article by Michael Kaplan "Getting Started Globally" on InformIT (available
without registration from Google's cache):

The URL is very long make sure you put in on a single line...

http://216.239.39.100/search?q=cache:VxdQz0L5KhsC:www.informit.com/isapi/pro
duct_id~%257B7583591E-1F55-4C6B-A9B4-61A1BB02BF10%257D/element_id~%257B87D9F
F49-F3EB-49C0-9FFD-B2B260154C94%257D/st~00C7E2A5-589F-483C-AD50-75843E8B7D9B
/content/articlex.asp+LCID+LANGID+Windows&hl=fr&ie=UTF-8

I Hope this helps, General information on locales can be found on Microsoft
site at:
http://www.microsoft.com/globaldev/reference/loclanghome.asp
http://www.microsoft.com/globaldev/FAQs/Locales.asp

Cheers,
Thierry

+---------------------------------------->
www.i18nGurus.com - The Open Internationalization Resources Directory.



-----Message d'origine-----
De : www-international-request@w3.org
[mailto:www-international-request@w3.org]De la part de Tex Texin
Envoye : vendredi 1 novembre 2002 00:00
A : Truong Ngoc Truc Binh (by way of Martin Duerst <duerst@w3.org>)
Cc : www-international@w3.org
Objet : Re: Asking about locale



I have a web page listing resources for Locales. At the bottom of the
table, there are links for
Solaris, Linux, IBM ICU, Microsoft, etc.

There is also a link to an article by Bill Hall on problems with POSIX
locales.

http://www.i18nguy.com/locales/locale-resources.html

There are also some other locales related discussions pointed to from
the http://www.i18nguy.com home page.

If anyone is aware of resources that should be added to the resources
page, please email me privately.
tex

"Truong Ngoc Truc Binh (by way of Martin Duerst )" wrote:
>
> I am looking for the information about Windows locale. I found some
> informations of POSIX and C locales. I don't know if they can use for
> Windows. If they can, may you show me their structures that use
> for  Windows locales?
>
> Thank you very much!

--
-------------------------------------------------------------
Tex Texin   cell: +1 781 789 1898   mailto:Tex@XenCraft.com
Xen Master                          http://www.i18nGuy.com

XenCraft		            http://www.XenCraft.com
Making e-Business Work Around the World
-------------------------------------------------------------
Received on Thursday, 31 October 2002 19:17:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 19:16:59 GMT