[BNM] browser language codes
AndrewGill73@gmail.com
andrewgill73 at gmail.com
Mon Jun 1 17:04:38 BST 2009
David / Julian,
Perfect guys - thanks. Very helpful. I'd googled for ages but should have
gone straight to Wikipedia!
cheers,
Andy
2009/6/1 David Pashley <david at davidpashley.com>
> On Jun 01, 2009 at 16:43, AndrewGill73 at gmail.com praised the llamas by
> saying:
> > Hello,
> >
> > I'm working on a web app that captures a user's browser language settings
> > using JavaScript.
> >
> > I'm struggling to find a list of all the languages. For example, "en-us"
> > meaning U.S english, i think "ru" is Russian.
> >
> > Any ideas where i can find a complete list?
> >
> >
> > p.s. The ideal would be the browser code and the corresponding ISO
> country.
> >
> http://en.wikipedia.org/wiki/Language_code
> http://en.wikipedia.org/wiki/IETF_language_tag
>
> It's basically <ISO-639-1>-<ISO-3166>. You can have any combination of
> language and country/region. en-UK would be English as spoken in the
> Ukraine. es-US would be spanish spoken in USA.
>
> http://en.wikipedia.org/wiki/ISO_639-1
> http://en.wikipedia.org/wiki/ISO_3166-1
>
> In particular, http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 and
> http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes.
>
> --
> David Pashley
> david at davidpashley.com
> Nihil curo de ista tua stulta superstitione.
> --
>
> BNM Subscribe/Unsubscribe:
> http://www.brightonnewmedia.org/options/bnmlist
>
> BNM powered by Wessex Networks:
> http://www.wessexnetworks.com
>
More information about the BNMlist
mailing list. Powered by Wessex Networks