Class LanguageCodes (3.0.0)

public static 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.

Inheritance

Object > LanguageCodes

Namespace

Google.Cloud.Translation.V2

Assembly

Google.Cloud.Translation.V2.dll

Fields

Afrikaans

public const string Afrikaans = "af"

Language code for Afrikaans

Field Value
TypeDescription
String

Albanian

public const string Albanian = "sq"

Language code for Albanian

Field Value
TypeDescription
String

Amharic

public const string Amharic = "am"

Language code for Amharic

Field Value
TypeDescription
String

Arabic

public const string Arabic = "ar"

Language code for Arabic

Field Value
TypeDescription
String

Armenian

public const string Armenian = "hy"

Language code for Armenian

Field Value
TypeDescription
String

Azerbaijani

public const string Azerbaijani = "az"

Language code for Azerbaijani

Field Value
TypeDescription
String

Basque

public const string Basque = "eu"

Language code for Basque

Field Value
TypeDescription
String

Belarusian

public const string Belarusian = "be"

Language code for Belarusian

Field Value
TypeDescription
String

Bengali

public const string Bengali = "bn"

Language code for Bengali

Field Value
TypeDescription
String

Bosnian

public const string Bosnian = "bs"

Language code for Bosnian

Field Value
TypeDescription
String

Bulgarian

public const string Bulgarian = "bg"

Language code for Bulgarian

Field Value
TypeDescription
String

Catalan

public const string Catalan = "ca"

Language code for Catalan

Field Value
TypeDescription
String

Cebuano

public const string Cebuano = "ceb"

Language code for Cebuano

Field Value
TypeDescription
String

Chichewa

public const string Chichewa = "ny"

Language code for Chichewa

Field Value
TypeDescription
String

ChineseSimplified

public const string ChineseSimplified = "zh"

Language code for Chinese (Simplified)

Field Value
TypeDescription
String

ChineseTraditional

public const string ChineseTraditional = "zh-TW"

Language code for Chinese (Traditional)

Field Value
TypeDescription
String

Corsican

public const string Corsican = "co"

Language code for Corsican

Field Value
TypeDescription
String

Croatian

public const string Croatian = "hr"

Language code for Croatian

Field Value
TypeDescription
String

Czech

public const string Czech = "cs"

Language code for Czech

Field Value
TypeDescription
String

Danish

public const string Danish = "da"

Language code for Danish

Field Value
TypeDescription
String

Dutch

public const string Dutch = "nl"

Language code for Dutch

Field Value
TypeDescription
String

English

public const string English = "en"

Language code for English

Field Value
TypeDescription
String

Esperanto

public const string Esperanto = "eo"

Language code for Esperanto

Field Value
TypeDescription
String

Estonian

public const string Estonian = "et"

Language code for Estonian

Field Value
TypeDescription
String

Filipino

public const string Filipino = "tl"

Language code for Filipino

Field Value
TypeDescription
String

Finnish

public const string Finnish = "fi"

Language code for Finnish

Field Value
TypeDescription
String

French

public const string French = "fr"

Language code for French

Field Value
TypeDescription
String

Frisian

public const string Frisian = "fy"

Language code for Frisian

Field Value
TypeDescription
String

Galician

public const string Galician = "gl"

Language code for Galician

Field Value
TypeDescription
String

Georgian

public const string Georgian = "ka"

Language code for Georgian

Field Value
TypeDescription
String

German

public const string German = "de"

Language code for German

Field Value
TypeDescription
String

Greek

public const string Greek = "el"

Language code for Greek

Field Value
TypeDescription
String

Gujarati

public const string Gujarati = "gu"

Language code for Gujarati

Field Value
TypeDescription
String

HaitianCreole

public const string HaitianCreole = "ht"

Language code for Haitian Creole

Field Value
TypeDescription
String

Hausa

public const string Hausa = "ha"

Language code for Hausa

Field Value
TypeDescription
String

Hawaiian

public const string Hawaiian = "haw"

Language code for Hawaiian

Field Value
TypeDescription
String

Hebrew

public const string Hebrew = "iw"

Language code for Hebrew

Field Value
TypeDescription
String

Hindi

public const string Hindi = "hi"

Language code for Hindi

Field Value
TypeDescription
String

Hmong

public const string Hmong = "hmn"

Language code for Hmong

Field Value
TypeDescription
String

Hungarian

public const string Hungarian = "hu"

Language code for Hungarian

Field Value
TypeDescription
String

Icelandic

public const string Icelandic = "is"

Language code for Icelandic

Field Value
TypeDescription
String

Igbo

public const string Igbo = "ig"

Language code for Igbo

Field Value
TypeDescription
String

Indonesian

public const string Indonesian = "id"

Language code for Indonesian

Field Value
TypeDescription
String

Irish

public const string Irish = "ga"

Language code for Irish

Field Value
TypeDescription
String

Italian

public const string Italian = "it"

Language code for Italian

Field Value
TypeDescription
String

Japanese

public const string Japanese = "ja"

Language code for Japanese

Field Value
TypeDescription
String

Javanese

public const string Javanese = "jw"

Language code for Javanese

Field Value
TypeDescription
String

Kannada

public const string Kannada = "kn"

Language code for Kannada

Field Value
TypeDescription
String

Kazakh

public const string Kazakh = "kk"

Language code for Kazakh

Field Value
TypeDescription
String

Khmer

public const string Khmer = "km"

Language code for Khmer

Field Value
TypeDescription
String

Korean

public const string Korean = "ko"

Language code for Korean

Field Value
TypeDescription
String

KurdishKurmanji

public const string KurdishKurmanji = "ku"

Language code for Kurdish (Kurmanji)

Field Value
TypeDescription
String

Kyrgyz

public const string Kyrgyz = "ky"

Language code for Kyrgyz

Field Value
TypeDescription
String

Lao

public const string Lao = "lo"

Language code for Lao

Field Value
TypeDescription
String

Latin

public const string Latin = "la"

Language code for Latin

Field Value
TypeDescription
String

Latvian

public const string Latvian = "lv"

Language code for Latvian

Field Value
TypeDescription
String

Lithuanian

public const string Lithuanian = "lt"

Language code for Lithuanian

Field Value
TypeDescription
String

Luxembourgish

public const string Luxembourgish = "lb"

Language code for Luxembourgish

Field Value
TypeDescription
String

Macedonian

public const string Macedonian = "mk"

Language code for Macedonian

Field Value
TypeDescription
String

Malagasy

public const string Malagasy = "mg"

Language code for Malagasy

Field Value
TypeDescription
String

Malay

public const string Malay = "ms"

Language code for Malay

Field Value
TypeDescription
String

Malayalam

public const string Malayalam = "ml"

Language code for Malayalam

Field Value
TypeDescription
String

Maltese

public const string Maltese = "mt"

Language code for Maltese

Field Value
TypeDescription
String

Maori

public const string Maori = "mi"

Language code for Maori

Field Value
TypeDescription
String

Marathi

public const string Marathi = "mr"

Language code for Marathi

Field Value
TypeDescription
String

Mongolian

public const string Mongolian = "mn"

Language code for Mongolian

Field Value
TypeDescription
String

MyanmarBurmese

public const string MyanmarBurmese = "my"

Language code for Myanmar (Burmese)

Field Value
TypeDescription
String

Nepali

public const string Nepali = "ne"

Language code for Nepali

Field Value
TypeDescription
String

Norwegian

public const string Norwegian = "no"

Language code for Norwegian

Field Value
TypeDescription
String

Pashto

public const string Pashto = "ps"

Language code for Pashto

Field Value
TypeDescription
String

Persian

public const string Persian = "fa"

Language code for Persian

Field Value
TypeDescription
String

Polish

public const string Polish = "pl"

Language code for Polish

Field Value
TypeDescription
String

Portuguese

public const string Portuguese = "pt"

Language code for Portuguese

Field Value
TypeDescription
String

Punjabi

public const string Punjabi = "pa"

Language code for Punjabi

Field Value
TypeDescription
String

Romanian

public const string Romanian = "ro"

Language code for Romanian

Field Value
TypeDescription
String

Russian

public const string Russian = "ru"

Language code for Russian

Field Value
TypeDescription
String

Samoan

public const string Samoan = "sm"

Language code for Samoan

Field Value
TypeDescription
String

ScotsGaelic

public const string ScotsGaelic = "gd"

Language code for Scots Gaelic

Field Value
TypeDescription
String

Serbian

public const string Serbian = "sr"

Language code for Serbian

Field Value
TypeDescription
String

Sesotho

public const string Sesotho = "st"

Language code for Sesotho

Field Value
TypeDescription
String

Shona

public const string Shona = "sn"

Language code for Shona

Field Value
TypeDescription
String

Sindhi

public const string Sindhi = "sd"

Language code for Sindhi

Field Value
TypeDescription
String

Sinhala

public const string Sinhala = "si"

Language code for Sinhala

Field Value
TypeDescription
String

Slovak

public const string Slovak = "sk"

Language code for Slovak

Field Value
TypeDescription
String

Slovenian

public const string Slovenian = "sl"

Language code for Slovenian

Field Value
TypeDescription
String

Somali

public const string Somali = "so"

Language code for Somali

Field Value
TypeDescription
String

Spanish

public const string Spanish = "es"

Language code for Spanish

Field Value
TypeDescription
String

Sundanese

public const string Sundanese = "su"

Language code for Sundanese

Field Value
TypeDescription
String

Swahili

public const string Swahili = "sw"

Language code for Swahili

Field Value
TypeDescription
String

Swedish

public const string Swedish = "sv"

Language code for Swedish

Field Value
TypeDescription
String

Tajik

public const string Tajik = "tg"

Language code for Tajik

Field Value
TypeDescription
String

Tamil

public const string Tamil = "ta"

Language code for Tamil

Field Value
TypeDescription
String

Telugu

public const string Telugu = "te"

Language code for Telugu

Field Value
TypeDescription
String

Thai

public const string Thai = "th"

Language code for Thai

Field Value
TypeDescription
String

Turkish

public const string Turkish = "tr"

Language code for Turkish

Field Value
TypeDescription
String

Ukrainian

public const string Ukrainian = "uk"

Language code for Ukrainian

Field Value
TypeDescription
String

Urdu

public const string Urdu = "ur"

Language code for Urdu

Field Value
TypeDescription
String

Uzbek

public const string Uzbek = "uz"

Language code for Uzbek

Field Value
TypeDescription
String

Vietnamese

public const string Vietnamese = "vi"

Language code for Vietnamese

Field Value
TypeDescription
String

Welsh

public const string Welsh = "cy"

Language code for Welsh

Field Value
TypeDescription
String

Xhosa

public const string Xhosa = "xh"

Language code for Xhosa

Field Value
TypeDescription
String

Yiddish

public const string Yiddish = "yi"

Language code for Yiddish

Field Value
TypeDescription
String

Yoruba

public const string Yoruba = "yo"

Language code for Yoruba

Field Value
TypeDescription
String

Zulu

public const string Zulu = "zu"

Language code for Zulu

Field Value
TypeDescription
String