views:

12

answers:

1

I need to generate a list of localized language names from a list of ISO639-1 two-letter language codes. I will wrap them in links to google translate. How hard can this be? It seems like this would be something that google offers by default, but all I can find from google are lists in one language: "English, French, German, etc"

What I need is, "English, Français, Deutch, etc"

Surely someone has already written a javascript / python / php function or similar?

There is a huge list here with localized names: http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes

A: 

Not sure about javascript / python / php, but you can get language name from Locale class in Java, so probably there is a javascript equivalent as well.

Paweł Dyda