public static class LanguageCodesReference documentation and code samples for the Google Cloud Translation v2 API class LanguageCodes.
A helper class with constants for supported language codes. This is simply a code-convenient form of the set of languages returned by ListLanguages(string, TranslationModel?). It is regenerated regularly, but not guaranteed to be complete at any moment in time; if the language you wish to use is present in the table but not covered here, please use the listed language code as a hard-coded string until this class catches up.
Namespace
Google.Cloud.Translation.V2Assembly
Google.Cloud.Translation.V2.dll
Fields
Afrikaans
public const string Afrikaans = "af"Language code for Afrikaans
| Field Value | |
|---|---|
| Type | Description |
string |
|
Albanian
public const string Albanian = "sq"Language code for Albanian
| Field Value | |
|---|---|
| Type | Description |
string |
|
Amharic
public const string Amharic = "am"Language code for Amharic
| Field Value | |
|---|---|
| Type | Description |
string |
|
Arabic
public const string Arabic = "ar"Language code for Arabic
| Field Value | |
|---|---|
| Type | Description |
string |
|
Armenian
public const string Armenian = "hy"Language code for Armenian
| Field Value | |
|---|---|
| Type | Description |
string |
|
Azerbaijani
public const string Azerbaijani = "az"Language code for Azerbaijani
| Field Value | |
|---|---|
| Type | Description |
string |
|
Basque
public const string Basque = "eu"Language code for Basque
| Field Value | |
|---|---|
| Type | Description |
string |
|
Belarusian
public const string Belarusian = "be"Language code for Belarusian
| Field Value | |
|---|---|
| Type | Description |
string |
|
Bengali
public const string Bengali = "bn"Language code for Bengali
| Field Value | |
|---|---|
| Type | Description |
string |
|
Bosnian
public const string Bosnian = "bs"Language code for Bosnian
| Field Value | |
|---|---|
| Type | Description |
string |
|
Bulgarian
public const string Bulgarian = "bg"Language code for Bulgarian
| Field Value | |
|---|---|
| Type | Description |
string |
|
Catalan
public const string Catalan = "ca"Language code for Catalan
| Field Value | |
|---|---|
| Type | Description |
string |
|
Cebuano
public const string Cebuano = "ceb"Language code for Cebuano
| Field Value | |
|---|---|
| Type | Description |
string |
|
Chichewa
public const string Chichewa = "ny"Language code for Chichewa
| Field Value | |
|---|---|
| Type | Description |
string |
|
ChineseSimplified
public const string ChineseSimplified = "zh"Language code for Chinese (Simplified)
| Field Value | |
|---|---|
| Type | Description |
string |
|
ChineseTraditional
public const string ChineseTraditional = "zh-TW"Language code for Chinese (Traditional)
| Field Value | |
|---|---|
| Type | Description |
string |
|
Corsican
public const string Corsican = "co"Language code for Corsican
| Field Value | |
|---|---|
| Type | Description |
string |
|
Croatian
public const string Croatian = "hr"Language code for Croatian
| Field Value | |
|---|---|
| Type | Description |
string |
|
Czech
public const string Czech = "cs"Language code for Czech
| Field Value | |
|---|---|
| Type | Description |
string |
|
Danish
public const string Danish = "da"Language code for Danish
| Field Value | |
|---|---|
| Type | Description |
string |
|
Dutch
public const string Dutch = "nl"Language code for Dutch
| Field Value | |
|---|---|
| Type | Description |
string |
|
English
public const string English = "en"Language code for English
| Field Value | |
|---|---|
| Type | Description |
string |
|
Esperanto
public const string Esperanto = "eo"Language code for Esperanto
| Field Value | |
|---|---|
| Type | Description |
string |
|
Estonian
public const string Estonian = "et"Language code for Estonian
| Field Value | |
|---|---|
| Type | Description |
string |
|
Filipino
public const string Filipino = "tl"Language code for Filipino
| Field Value | |
|---|---|
| Type | Description |
string |
|
Finnish
public const string Finnish = "fi"Language code for Finnish
| Field Value | |
|---|---|
| Type | Description |
string |
|
French
public const string French = "fr"Language code for French
| Field Value | |
|---|---|
| Type | Description |
string |
|
Frisian
public const string Frisian = "fy"Language code for Frisian
| Field Value | |
|---|---|
| Type | Description |
string |
|
Galician
public const string Galician = "gl"Language code for Galician
| Field Value | |
|---|---|
| Type | Description |
string |
|
Georgian
public const string Georgian = "ka"Language code for Georgian
| Field Value | |
|---|---|
| Type | Description |
string |
|
German
public const string German = "de"Language code for German
| Field Value | |
|---|---|
| Type | Description |
string |
|
Greek
public const string Greek = "el"Language code for Greek
| Field Value | |
|---|---|
| Type | Description |
string |
|
Gujarati
public const string Gujarati = "gu"Language code for Gujarati
| Field Value | |
|---|---|
| Type | Description |
string |
|
HaitianCreole
public const string HaitianCreole = "ht"Language code for Haitian Creole
| Field Value | |
|---|---|
| Type | Description |
string |
|
Hausa
public const string Hausa = "ha"Language code for Hausa
| Field Value | |
|---|---|
| Type | Description |
string |
|
Hawaiian
public const string Hawaiian = "haw"Language code for Hawaiian
| Field Value | |
|---|---|
| Type | Description |
string |
|
Hebrew
public const string Hebrew = "iw"Language code for Hebrew
| Field Value | |
|---|---|
| Type | Description |
string |
|
Hindi
public const string Hindi = "hi"Language code for Hindi
| Field Value | |
|---|---|
| Type | Description |
string |
|
Hmong
public const string Hmong = "hmn"Language code for Hmong
| Field Value | |
|---|---|
| Type | Description |
string |
|
Hungarian
public const string Hungarian = "hu"Language code for Hungarian
| Field Value | |
|---|---|
| Type | Description |
string |
|
Icelandic
public const string Icelandic = "is"Language code for Icelandic
| Field Value | |
|---|---|
| Type | Description |
string |
|
Igbo
public const string Igbo = "ig"Language code for Igbo
| Field Value | |
|---|---|
| Type | Description |
string |
|
Indonesian
public const string Indonesian = "id"Language code for Indonesian
| Field Value | |
|---|---|
| Type | Description |
string |
|
Irish
public const string Irish = "ga"Language code for Irish
| Field Value | |
|---|---|
| Type | Description |
string |
|
Italian
public const string Italian = "it"Language code for Italian
| Field Value | |
|---|---|
| Type | Description |
string |
|
Japanese
public const string Japanese = "ja"Language code for Japanese
| Field Value | |
|---|---|
| Type | Description |
string |
|
Javanese
public const string Javanese = "jw"Language code for Javanese
| Field Value | |
|---|---|
| Type | Description |
string |
|
Kannada
public const string Kannada = "kn"Language code for Kannada
| Field Value | |
|---|---|
| Type | Description |
string |
|
Kazakh
public const string Kazakh = "kk"Language code for Kazakh
| Field Value | |
|---|---|
| Type | Description |
string |
|
Khmer
public const string Khmer = "km"Language code for Khmer
| Field Value | |
|---|---|
| Type | Description |
string |
|
Korean
public const string Korean = "ko"Language code for Korean
| Field Value | |
|---|---|
| Type | Description |
string |
|
KurdishKurmanji
public const string KurdishKurmanji = "ku"Language code for Kurdish (Kurmanji)
| Field Value | |
|---|---|
| Type | Description |
string |
|
Kyrgyz
public const string Kyrgyz = "ky"Language code for Kyrgyz
| Field Value | |
|---|---|
| Type | Description |
string |
|
Lao
public const string Lao = "lo"Language code for Lao
| Field Value | |
|---|---|
| Type | Description |
string |
|
Latin
public const string Latin = "la"Language code for Latin
| Field Value | |
|---|---|
| Type | Description |
string |
|
Latvian
public const string Latvian = "lv"Language code for Latvian
| Field Value | |
|---|---|
| Type | Description |
string |
|
Lithuanian
public const string Lithuanian = "lt"Language code for Lithuanian
| Field Value | |
|---|---|
| Type | Description |
string |
|
Luxembourgish
public const string Luxembourgish = "lb"Language code for Luxembourgish
| Field Value | |
|---|---|
| Type | Description |
string |
|
Macedonian
public const string Macedonian = "mk"Language code for Macedonian
| Field Value | |
|---|---|
| Type | Description |
string |
|
Malagasy
public const string Malagasy = "mg"Language code for Malagasy
| Field Value | |
|---|---|
| Type | Description |
string |
|
Malay
public const string Malay = "ms"Language code for Malay
| Field Value | |
|---|---|
| Type | Description |
string |
|
Malayalam
public const string Malayalam = "ml"Language code for Malayalam
| Field Value | |
|---|---|
| Type | Description |
string |
|
Maltese
public const string Maltese = "mt"Language code for Maltese
| Field Value | |
|---|---|
| Type | Description |
string |
|
Maori
public const string Maori = "mi"Language code for Maori
| Field Value | |
|---|---|
| Type | Description |
string |
|
Marathi
public const string Marathi = "mr"Language code for Marathi
| Field Value | |
|---|---|
| Type | Description |
string |
|
Mongolian
public const string Mongolian = "mn"Language code for Mongolian
| Field Value | |
|---|---|
| Type | Description |
string |
|
MyanmarBurmese
public const string MyanmarBurmese = "my"Language code for Myanmar (Burmese)
| Field Value | |
|---|---|
| Type | Description |
string |
|
Nepali
public const string Nepali = "ne"Language code for Nepali
| Field Value | |
|---|---|
| Type | Description |
string |
|
Norwegian
public const string Norwegian = "no"Language code for Norwegian
| Field Value | |
|---|---|
| Type | Description |
string |
|
Pashto
public const string Pashto = "ps"Language code for Pashto
| Field Value | |
|---|---|
| Type | Description |
string |
|
Persian
public const string Persian = "fa"Language code for Persian
| Field Value | |
|---|---|
| Type | Description |
string |
|
Polish
public const string Polish = "pl"Language code for Polish
| Field Value | |
|---|---|
| Type | Description |
string |
|
Portuguese
public const string Portuguese = "pt"Language code for Portuguese
| Field Value | |
|---|---|
| Type | Description |
string |
|
Punjabi
public const string Punjabi = "pa"Language code for Punjabi
| Field Value | |
|---|---|
| Type | Description |
string |
|
Romanian
public const string Romanian = "ro"Language code for Romanian
| Field Value | |
|---|---|
| Type | Description |
string |
|
Russian
public const string Russian = "ru"Language code for Russian
| Field Value | |
|---|---|
| Type | Description |
string |
|
Samoan
public const string Samoan = "sm"Language code for Samoan
| Field Value | |
|---|---|
| Type | Description |
string |
|
ScotsGaelic
public const string ScotsGaelic = "gd"Language code for Scots Gaelic
| Field Value | |
|---|---|
| Type | Description |
string |
|
Serbian
public const string Serbian = "sr"Language code for Serbian
| Field Value | |
|---|---|
| Type | Description |
string |
|
Sesotho
public const string Sesotho = "st"Language code for Sesotho
| Field Value | |
|---|---|
| Type | Description |
string |
|
Shona
public const string Shona = "sn"Language code for Shona
| Field Value | |
|---|---|
| Type | Description |
string |
|
Sindhi
public const string Sindhi = "sd"Language code for Sindhi
| Field Value | |
|---|---|
| Type | Description |
string |
|
Sinhala
public const string Sinhala = "si"Language code for Sinhala
| Field Value | |
|---|---|
| Type | Description |
string |
|
Slovak
public const string Slovak = "sk"Language code for Slovak
| Field Value | |
|---|---|
| Type | Description |
string |
|
Slovenian
public const string Slovenian = "sl"Language code for Slovenian
| Field Value | |
|---|---|
| Type | Description |
string |
|
Somali
public const string Somali = "so"Language code for Somali
| Field Value | |
|---|---|
| Type | Description |
string |
|
Spanish
public const string Spanish = "es"Language code for Spanish
| Field Value | |
|---|---|
| Type | Description |
string |
|
Sundanese
public const string Sundanese = "su"Language code for Sundanese
| Field Value | |
|---|---|
| Type | Description |
string |
|
Swahili
public const string Swahili = "sw"Language code for Swahili
| Field Value | |
|---|---|
| Type | Description |
string |
|
Swedish
public const string Swedish = "sv"Language code for Swedish
| Field Value | |
|---|---|
| Type | Description |
string |
|
Tajik
public const string Tajik = "tg"Language code for Tajik
| Field Value | |
|---|---|
| Type | Description |
string |
|
Tamil
public const string Tamil = "ta"Language code for Tamil
| Field Value | |
|---|---|
| Type | Description |
string |
|
Telugu
public const string Telugu = "te"Language code for Telugu
| Field Value | |
|---|---|
| Type | Description |
string |
|
Thai
public const string Thai = "th"Language code for Thai
| Field Value | |
|---|---|
| Type | Description |
string |
|
Turkish
public const string Turkish = "tr"Language code for Turkish
| Field Value | |
|---|---|
| Type | Description |
string |
|
Ukrainian
public const string Ukrainian = "uk"Language code for Ukrainian
| Field Value | |
|---|---|
| Type | Description |
string |
|
Urdu
public const string Urdu = "ur"Language code for Urdu
| Field Value | |
|---|---|
| Type | Description |
string |
|
Uzbek
public const string Uzbek = "uz"Language code for Uzbek
| Field Value | |
|---|---|
| Type | Description |
string |
|
Vietnamese
public const string Vietnamese = "vi"Language code for Vietnamese
| Field Value | |
|---|---|
| Type | Description |
string |
|
Welsh
public const string Welsh = "cy"Language code for Welsh
| Field Value | |
|---|---|
| Type | Description |
string |
|
Xhosa
public const string Xhosa = "xh"Language code for Xhosa
| Field Value | |
|---|---|
| Type | Description |
string |
|
Yiddish
public const string Yiddish = "yi"Language code for Yiddish
| Field Value | |
|---|---|
| Type | Description |
string |
|
Yoruba
public const string Yoruba = "yo"Language code for Yoruba
| Field Value | |
|---|---|
| Type | Description |
string |
|
Zulu
public const string Zulu = "zu"Language code for Zulu
| Field Value | |
|---|---|
| Type | Description |
string |
|