public static class LanguageCodes
Reference 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, Nullable<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 |