Google Cloud Translation v2 API - Class LanguageCodes (3.3.0)

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, 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