Enum Class Language

java.lang.Object
java.lang.Enum<Language>
com.iizix.translate.google.Language
All Implemented Interfaces:
Serializable, Comparable<Language>, Constable

public enum Language extends Enum<Language>
List of languages and their language codes for the Google Translate API.
Author:
Christopher Mindus
  • Enum Constant Details

    • Auto_detect

      public static final Language Auto_detect
    • Afrikaans

      public static final Language Afrikaans
    • Albanian

      public static final Language Albanian
    • Amharic

      public static final Language Amharic
    • Arabic

      public static final Language Arabic
    • Armenian

      public static final Language Armenian
    • Azeerbaijani

      public static final Language Azeerbaijani
    • Basque

      public static final Language Basque
    • Belarusian

      public static final Language Belarusian
    • Bengali

      public static final Language Bengali
    • Bosnian

      public static final Language Bosnian
    • Bulgarian

      public static final Language Bulgarian
    • Catalan

      public static final Language Catalan
    • Cebuano

      public static final Language Cebuano
    • Chichewa

      public static final Language Chichewa
    • Chinese_Simplified

      public static final Language Chinese_Simplified
    • Chinese_Traditional

      public static final Language Chinese_Traditional
    • Corsican

      public static final Language Corsican
    • Croatian

      public static final Language Croatian
    • Czech

      public static final Language Czech
    • Danish

      public static final Language Danish
    • Dutch

      public static final Language Dutch
    • English

      public static final Language English
    • Esperanto

      public static final Language Esperanto
    • Estonian

      public static final Language Estonian
    • Filipino

      public static final Language Filipino
    • Finnish

      public static final Language Finnish
    • French

      public static final Language French
    • Frisian

      public static final Language Frisian
    • Galician

      public static final Language Galician
    • Georgian

      public static final Language Georgian
    • German

      public static final Language German
    • Greek

      public static final Language Greek
    • Gujarati

      public static final Language Gujarati
    • Haitian_Creole

      public static final Language Haitian_Creole
    • Hausa

      public static final Language Hausa
    • Hawaiian

      public static final Language Hawaiian
    • Hebrew

      public static final Language Hebrew
    • Hindi

      public static final Language Hindi
    • Hmong

      public static final Language Hmong
    • Hungarian

      public static final Language Hungarian
    • Icelandic

      public static final Language Icelandic
    • Igbo

      public static final Language Igbo
    • Indonesian

      public static final Language Indonesian
    • Irish

      public static final Language Irish
    • Italian

      public static final Language Italian
    • Japanese

      public static final Language Japanese
    • Javanese

      public static final Language Javanese
    • Kannada

      public static final Language Kannada
    • Kazakh

      public static final Language Kazakh
    • Khmer

      public static final Language Khmer
    • Korean

      public static final Language Korean
    • Kurdish

      public static final Language Kurdish
    • Kyrgyz

      public static final Language Kyrgyz
    • Lao

      public static final Language Lao
    • Latin

      public static final Language Latin
    • Latvian

      public static final Language Latvian
    • Lithuanian

      public static final Language Lithuanian
    • Luxembourgish

      public static final Language Luxembourgish
    • Macedonian

      public static final Language Macedonian
    • Malagasy

      public static final Language Malagasy
    • Malay

      public static final Language Malay
    • Malayalam

      public static final Language Malayalam
    • Maltese

      public static final Language Maltese
    • Maori

      public static final Language Maori
    • Marathi

      public static final Language Marathi
    • Mongolian

      public static final Language Mongolian
    • Burmese

      public static final Language Burmese
    • Nepali

      public static final Language Nepali
    • Norwegian

      public static final Language Norwegian
    • Pashto

      public static final Language Pashto
    • Persian

      public static final Language Persian
    • Polish

      public static final Language Polish
    • Portuguese

      public static final Language Portuguese
    • Punjabi

      public static final Language Punjabi
    • Romanian

      public static final Language Romanian
    • Russian

      public static final Language Russian
    • Samoan

      public static final Language Samoan
    • Scots_Gaelic

      public static final Language Scots_Gaelic
    • Serbian

      public static final Language Serbian
    • Sesotho

      public static final Language Sesotho
    • Shona

      public static final Language Shona
    • Sindhi

      public static final Language Sindhi
    • Sinhala

      public static final Language Sinhala
    • Slovak

      public static final Language Slovak
    • Slovenian

      public static final Language Slovenian
    • Somali

      public static final Language Somali
    • Spanish

      public static final Language Spanish
    • Sundanese

      public static final Language Sundanese
    • Swahili

      public static final Language Swahili
    • Swedish

      public static final Language Swedish
    • Tajik

      public static final Language Tajik
    • Tamil

      public static final Language Tamil
    • Telugu

      public static final Language Telugu
    • Thai

      public static final Language Thai
    • Turkish

      public static final Language Turkish
    • Ukrainian

      public static final Language Ukrainian
    • Urdu

      public static final Language Urdu
    • Uzbek

      public static final Language Uzbek
    • Vietnamese

      public static final Language Vietnamese
    • Welsh

      public static final Language Welsh
    • Xhosa

      public static final Language Xhosa
    • Yiddish

      public static final Language Yiddish
    • Yoruba

      public static final Language Yoruba
    • Zulu

      public static final Language Zulu
  • Field Details

    • langID

      public final String langID
      Short abbreviation of the language name, typically two characters (unless for Chinese).
    • description

      public final String description
      The description.
  • Method Details

    • values

      public static Language[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Language valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • get

      public static Language get(String langID)
      Creates a Language enum from a language ID.
      Parameters:
      langID - The Google language ID.
      Returns:
      The Language.Nnn enum, or null if not found.
    • toString

      public String toString()
      Gets the language name.
      Overrides:
      toString in class Enum<Language>
      Returns:
      The language name in English.