Go to console

FirebaseTranslateLanguage

public class FirebaseTranslateLanguage extends Object

Information about the languages that are supported by the Translate API.

Nested Class Summary

@interface FirebaseTranslateLanguage.TranslateLanguage A language supported by the Translate API. 

Constant Summary

int AF Afrikaans.
int AR Arabic.
int BE Belarusian.
int BG Bulgarian.
int BN Bengali.
int CA Catalan.
int CS Czech.
int CY Welsh.
int DA Danish.
int DE German.
int EL Greek.
int EN English.
int EO Esperanto.
int ES Spanish.
int ET Estonian.
int FA Persian.
int FI Finnish.
int FR French.
int GA Irish.
int GL Galician.
int GU Gujarati.
int HE Hebrew.
int HI Hindi.
int HR Croatian.
int HT Haitian.
int HU Hungarian.
int ID Indonesian.
int IS Icelandic.
int IT Italian.
int JA Japanese.
int KA Georgian.
int KN Kannada.
int KO Korean.
int LT Lithuanian.
int LV Latvian.
int MK Macedonian.
int MR Marathi.
int MS Malay.
int MT Maltese.
int NL Dutch.
int NO Norwegian.
int PL Polish.
int PT Portuguese.
int RO Romanian.
int RU Russian.
int SK Slovak.
int SL Slovenian.
int SQ Albanian.
int SV Swedish.
int SW Swahili.
int TA Tamil.
int TE Telugu.
int TH Thai.
int TL Tagalog.
int TR Turkish.
int UK Ukranian.
int UR Urdu.
int VI Vietnamese.
int ZH

Public Method Summary

static Set<Integer>
getAllLanguages()
Returns the set of all FirebaseTranslateLanguage.TranslateLanguage values that are supported by the Translate API.
static String
languageCodeForLanguage(int language)
Returns the BCP-47 language code for the given FirebaseTranslateLanguage.TranslateLanguage.
static Integer
languageForLanguageCode(String languageCode)
Returns the FirebaseTranslateLanguage.TranslateLanguage for a given BCP-47 language code, or null if the language code is invalid or not supported by the Translate API.

Inherited Method Summary