Enumeration Language

A set of all languages that localized strings can be translated to. Loosely based on ISO 639-1 two letter language codes.

Constructors

Values

Abkhazian Afar Afrikaans Akan Albanian Amharic Arabic Aragonese Armenian Assamese Avaric Avestan Aymara Azerbaijani Bambara Bashkir Basque Belarusian Bengali Bhutani Bihari Bislama Bosnian Breton Bulgarian Burmese Cambodian Catalan Chamorro Chechen Chinese ChurchSlavic Chuvash Cornish Corsican Count Cree Croatian Czech Danish Dutch EnglishUK EnglishUS Esperanto Estonian Ewe Faroese Fijian Finnish French Fulah Galician Ganda Georgian German Greek Guarani Gujarati Haitian Hausa Hebrew Herero Hindi HiriMotu Hungarian Icelandic Ido Igbo Indonesian Interlingua Interlingue Inuktitut Inupiak Irish Italian Japanese Javanese Kalaallisut Kannada Kanuri Kashmiri Kazakh Kikuyu Kinyarwanda Kirghiz Kirundi Komi Kongo Korean Kuanyama Kurdish Laotian Latin Latvian Limburgish Lingala Lithuanian LubaKatanga Luxembourgish Macedonian Malagasy Malay Malayalam Maldivian Maltese Manx Maori Marathi Marshallese Moldavian Mongolian Nauru Navaho Ndebele Ndonga Nepali NorthernSami Norwegian NorwegianBokmal NorwegianNynorsk Nyanja Ojibwa Oriya Oromo Ossetic Pali Persian Polish Portuguese Provencal Punjabi Pushto Quechua Romanian Romansh Russian Samoan Sangro Sanskrit Sardinian ScottishGaelic Serbian Sesotho Setswana Shona SichuanYi Sindhi Sinhalese Slovak Slovenian Somali Spanish Sundanese Swahili Swati Swedish Tagalog Tahitian Tajik Tamil Tatar Telugu Thai Tibetan Tigrinya Tonga Tsonga Turkish Turkmen Twi Uighur Ukrainian Urdu Uzbek Venda Vietnamese Volapuk Walloon Welsh WesternFrisian Wolof Xhosa Yiddish Yoruba Zhuang Zulu

Methods

Constructors

  • Parameters

    • do_not_: undefined
    • construct_: undefined
    • this_: undefined
    • type_: undefined

    Returns Language

Values

Abkhazian = 1
Afar = 0
Afrikaans = 3
Akan = 4
Albanian = 149
Amharic = 5
Arabic = 7
Aragonese = 6
Armenian = 63
Assamese = 8
Avaric = 9
Avestan = 2
Aymara = 10
Azerbaijani = 11
Bambara = 17
Bashkir = 12
Basque = 42
Belarusian = 13
Bengali = 18
Bhutani = 34
Bihari = 15
Bislama = 16
Bosnian = 21
Breton = 20
Bulgarian = 14
Burmese = 111
Cambodian = 83
Catalan = 22
Chamorro = 24
Chechen = 23
Chinese = 183
ChurchSlavic = 28
Chuvash = 29
Cornish = 90
Corsican = 25
Count = 185
Cree = 26
Croatian = 60
Czech = 27
Danish = 31
Dutch = 117
EnglishUK = 37
EnglishUS = 38
Esperanto = 39
Estonian = 41
Ewe = 35
Faroese = 47
Fijian = 46
Finnish = 45
French = 48
Fulah = 44
Galician = 52
Ganda = 94
Georgian = 77
German = 32
Greek = 36
Guarani = 53
Gujarati = 54
Haitian = 61
Hausa = 56
Hebrew = 57
Herero = 64
Hindi = 58
HiriMotu = 59
Hungarian = 62
Icelandic = 72
Ido = 71
Igbo = 68
Indonesian = 66
Interlingua = 65
Interlingue = 67
Inuktitut = 74
Inupiak = 70
Irish = 50
Italian = 73
Japanese = 75
Javanese = 76
Kalaallisut = 82
Kannada = 84
Kanuri = 86
Kashmiri = 87
Kazakh = 81
Kikuyu = 79
Kinyarwanda = 137
Kirghiz = 91
Kirundi = 134
Komi = 89
Kongo = 78
Korean = 85
Kuanyama = 80
Kurdish = 88
Laotian = 97
Latin = 92
Latvian = 100
Limburgish = 95
Lingala = 96
Lithuanian = 98
LubaKatanga = 99
Luxembourgish = 93
Macedonian = 104
Malagasy = 101
Malay = 109
Malayalam = 105
Maldivian = 33
Maltese = 110
Manx = 55
Maori = 103
Marathi = 108
Marshallese = 102
Moldavian = 107
Mongolian = 106
Nauru = 112
Navaho = 120
Ndebele = 114
Ndonga = 116
Nepali = 115
NorthernSami = 141
Norwegian = 119
NorwegianBokmal = 113
NorwegianNynorsk = 118
Nyanja = 121
Ojibwa = 123
Oriya = 125
Oromo = 124
Ossetic = 126
Pali = 128
Persian = 43
Polish = 129
Portuguese = 131
Provencal = 122
Punjabi = 127
Pushto = 130
Quechua = 132
Romanian = 135
Romansh = 133
Russian = 136
Samoan = 146
Sangro = 142
Sanskrit = 138
Sardinian = 139
ScottishGaelic = 51
Serbian = 150
Sesotho = 152
Setswana = 163
Shona = 147
SichuanYi = 69
Sindhi = 140
Sinhalese = 143
Slovak = 144
Slovenian = 145
Somali = 148
Spanish = 40
Sundanese = 153
Swahili = 155
Swati = 151
Swedish = 154
Tagalog = 162
Tahitian = 169
Tajik = 158
Tamil = 156
Tatar = 167
Telugu = 157
Thai = 159
Tibetan = 19
Tigrinya = 160
Tonga = 164
Tsonga = 166
Turkish = 165
Turkmen = 161
Twi = 168
Uighur = 170
Ukrainian = 171
Urdu = 172
Uzbek = 173
Venda = 174
Vietnamese = 175
Volapuk = 176
Walloon = 177
Welsh = 30
WesternFrisian = 49
Wolof = 178
Xhosa = 179
Yiddish = 180
Yoruba = 181
Zhuang = 182
Zulu = 184

Methods

  • Takes an array of enum values and combines them as a single enum flag value. This assumes that the target enum is a flag enum that can have their values combined using bitwise operators.

    Type Parameters

    Parameters

    Returns EnumValueTyped<T, number>

    The combined enum value.

  • Type Parameters

    • T

    Parameters

    Returns string

    Compatibility

  • Returns string[]

    Compatibility

  • Parameters

    • index: number

    Returns number

    Compatibility

  • Returns number[]

    Compatibility

  • Gets the name for the enumeration value that matches the specified enumValue.

    Type Parameters

    • T

    Parameters

    Returns string

    The enumeration value or undefined if not found.

  • Gets the enumeration names

    Returns string[]

    The enumeration names.

  • Gets the enumeration value at the specified index.

    Type Parameters

    • T = number

    Parameters

    • index: number

      The index.

    Returns EnumValueTyped<T, number>

    The enumeration value or undefined if not found.

  • Determines if the enum value has the flags set.

    Type Parameters

    Parameters

    Returns boolean

  • Determines if the enum bits were changed from previousValue to currentValue.

    Type Parameters

    Parameters

    Returns boolean

  • Iterates the enumeration names

    Returns Generator<string, any, any>

    The enumeration names.

  • Iterates the enumeration values

    Type Parameters

    • T = any

    Returns Generator<EnumValueTyped<T, number>, any, any>

    The enumeration values.

  • Takes a single enum value and splits it into separated flag values set on the value. This assumes that the target enum is a flag enum that can have their values combined using bitwise operators.

    Type Parameters

    Parameters

    • value: number | BrandedType<number, "enum"> | BrandedType<T, "enum">

      The enum value to have it's value split using bitwise-and operator.

    Returns EnumValueTyped<T, number>[]

    An array of each "bit flag" set in the enum.