I noticed that Microsoft/Bing Translator API does not list the languages and associated language codes that need to be used in the API calls anywhere in their documentation. There is a function that gives you this list but wouldn’t it be easier to just list it somewhere? Language codes match the ISO 639-1 language list except the CHS/CHT distinction for Simplified Chinese and Traditional Chinese.
Microsoft Bing Translate API supported ISO 639-1 Language Codes
Here is a list of all supported Microsoft Bing Translate Language Codes and Language Names:
API Language Code | Language Name | Native Language Name |
ar | Arabic | العربية |
cs | Czech | česky, čeština |
da | Danish | dansk |
de | German | Deutsch |
en | English | English |
et | Estonian | eesti, eesti keel |
fi | Finnish | suomi, suomen kieli |
fr | French | français |
nl | Dutch | Nederlands, Vlaams |
el | Greek | Ελληνικά |
he | Hebrew | עברית |
ht | Haitian Creole | Kreyòl ayisyen |
hu | Hungarian | Magyar |
id | Indonesian | Bahasa Indonesia |
it | Italian | Italiano |
ja | Japanese | 日本語 |
ko | Korean | 한국어 |
lt | Lithuanian | lietuvių kalba |
lv | Latvian | latviešu valoda |
no | Norwegian | Norsk |
pl | Polish | polski |
pt | Portuguese | Português |
ro | Romanian | română |
es | Spanish | español |
ru | Russian | русский язык |
sk | Slovak | slovenčina |
sl | Slovene | slovenščina |
sv | Swedish | svenska |
th | Thai | ไทย |
tr | Turkish | Türkçe |
uk | Ukrainian | українська |
vi | Vietnamese | Tiếng Việt |
zh-CHS | Simplified Chinese | 中文 |
zh-CHT | Traditional Chinese |
http://msdn.microsoft.com/en-us/library/hh456380.aspx
Thanks. When I wrote the post, there was no such a page 🙂