generaltranslation 2.0.53 → 2.0.55

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. package/dist/{codes → cjs/codes}/codes.js +11 -12
  2. package/dist/{codes → cjs/codes}/getLanguageDirection.js +4 -4
  3. package/dist/{index.js → cjs/index.js} +10 -29
  4. package/dist/cjs/translation/_bundleTranslation.js +42 -0
  5. package/dist/cjs/translation/_intl.js +52 -0
  6. package/dist/cjs/translation/_translate.js +51 -0
  7. package/dist/cjs/translation/_translateReactChildren.js +56 -0
  8. package/dist/cjs/translation/_updateRemoteDictionary.js +30 -0
  9. package/dist/mjs/codes/15924/CodeToScript.json +215 -0
  10. package/dist/mjs/codes/15924/ScriptToCode.json +215 -0
  11. package/dist/mjs/codes/3166/CodeToRegion.json +296 -0
  12. package/dist/mjs/codes/3166/RegionToCode.json +296 -0
  13. package/dist/mjs/codes/639-1/CodeToLanguage.json +185 -0
  14. package/dist/mjs/codes/639-1/LanguageToCode.json +227 -0
  15. package/dist/mjs/codes/639-3/CodeToLanguageTriletter.json +186 -0
  16. package/dist/mjs/codes/639-3/LanguageToCodeTriletter.json +228 -0
  17. package/dist/mjs/codes/codes.d.ts +8 -0
  18. package/dist/mjs/codes/codes.js +305 -0
  19. package/dist/mjs/codes/getLanguageDirection.d.ts +1 -0
  20. package/dist/mjs/codes/getLanguageDirection.js +68 -0
  21. package/dist/mjs/codes/predefined/Predefined.json +28 -0
  22. package/dist/mjs/index.d.ts +153 -0
  23. package/dist/mjs/index.js +130 -0
  24. package/dist/mjs/translation/_bundleTranslation.d.ts +22 -0
  25. package/dist/mjs/translation/_bundleTranslation.js +39 -0
  26. package/dist/mjs/translation/_intl.d.ts +1 -0
  27. package/dist/mjs/translation/_intl.js +49 -0
  28. package/dist/mjs/translation/_translate.d.ts +1 -0
  29. package/dist/mjs/translation/_translate.js +48 -0
  30. package/dist/mjs/translation/_translateReactChildren.d.ts +1 -0
  31. package/dist/mjs/translation/_translateReactChildren.js +53 -0
  32. package/dist/mjs/translation/_updateRemoteDictionary.d.ts +17 -0
  33. package/dist/mjs/translation/_updateRemoteDictionary.js +27 -0
  34. package/package.json +12 -5
  35. package/dist/translation/_bundleTranslation.js +0 -54
  36. package/dist/translation/_intl.js +0 -63
  37. package/dist/translation/_translate.js +0 -62
  38. package/dist/translation/_translateReactChildren.js +0 -67
  39. package/dist/translation/_updateRemoteDictionary.js +0 -41
  40. /package/dist/{codes → cjs/codes}/15924/CodeToScript.json +0 -0
  41. /package/dist/{codes → cjs/codes}/15924/ScriptToCode.json +0 -0
  42. /package/dist/{codes → cjs/codes}/3166/CodeToRegion.json +0 -0
  43. /package/dist/{codes → cjs/codes}/3166/RegionToCode.json +0 -0
  44. /package/dist/{codes → cjs/codes}/639-1/CodeToLanguage.json +0 -0
  45. /package/dist/{codes → cjs/codes}/639-1/LanguageToCode.json +0 -0
  46. /package/dist/{codes → cjs/codes}/639-3/CodeToLanguageTriletter.json +0 -0
  47. /package/dist/{codes → cjs/codes}/639-3/LanguageToCodeTriletter.json +0 -0
  48. /package/dist/{codes → cjs/codes}/codes.d.ts +0 -0
  49. /package/dist/{codes → cjs/codes}/getLanguageDirection.d.ts +0 -0
  50. /package/dist/{codes → cjs/codes}/predefined/Predefined.json +0 -0
  51. /package/dist/{index.d.ts → cjs/index.d.ts} +0 -0
  52. /package/dist/{translation → cjs/translation}/_bundleTranslation.d.ts +0 -0
  53. /package/dist/{translation → cjs/translation}/_intl.d.ts +0 -0
  54. /package/dist/{translation → cjs/translation}/_translate.d.ts +0 -0
  55. /package/dist/{translation → cjs/translation}/_translateReactChildren.d.ts +0 -0
  56. /package/dist/{translation → cjs/translation}/_updateRemoteDictionary.d.ts +0 -0
@@ -0,0 +1,227 @@
1
+ {
2
+ "abkhazian": "ab",
3
+ "afar": "aa",
4
+ "afrikaans": "af",
5
+ "akan": "ak",
6
+ "albanian": "sq",
7
+ "amharic": "am",
8
+ "arabic": "ar",
9
+ "aragonese": "an",
10
+ "armenian": "hy",
11
+ "assamese": "as",
12
+ "avaric": "av",
13
+ "avestan": "ae",
14
+ "aymara": "ay",
15
+ "azerbaijani": "az",
16
+ "bambara": "bm",
17
+ "bashkir": "ba",
18
+ "basque": "eu",
19
+ "belarusian": "be",
20
+ "bengali": "bn",
21
+ "bislama": "bi",
22
+ "bosnian": "bs",
23
+ "breton": "br",
24
+ "bulgarian": "bg",
25
+ "burmese": "my",
26
+ "catalan": "ca",
27
+ "valencian": "ca",
28
+ "chamorro": "ch",
29
+ "chechen": "ce",
30
+ "chichewa": "ny",
31
+ "chewa": "ny",
32
+ "nyanja": "ny",
33
+ "chinese": "zh",
34
+ "mandarin": "zh",
35
+ "church slavonic": "cu",
36
+ "old slavonic": "cu",
37
+ "old church slavonic": "cu",
38
+ "slavonic": "cu",
39
+ "chuvash": "cv",
40
+ "cornish": "kw",
41
+ "corsican": "co",
42
+ "cree": "cr",
43
+ "croatian": "hr",
44
+ "czech": "cs",
45
+ "danish": "da",
46
+ "divehi": "dv",
47
+ "dhivehi": "dv",
48
+ "maldivian": "dv",
49
+ "dutch": "nl",
50
+ "flemish": "nl",
51
+ "dzongkha": "dz",
52
+ "english": "en",
53
+ "esperanto": "eo",
54
+ "estonian": "et",
55
+ "ewe": "ee",
56
+ "faroese": "fo",
57
+ "fijian": "fj",
58
+ "finnish": "fi",
59
+ "french": "fr",
60
+ "western frisian": "fy",
61
+ "frisian": "fy",
62
+ "fulah": "ff",
63
+ "gaelic": "gd",
64
+ "scottish gaelic": "gd",
65
+ "galician": "gl",
66
+ "ganda": "lg",
67
+ "georgian": "ka",
68
+ "german": "de",
69
+ "greek": "el",
70
+ "modern greek": "el",
71
+ "kalaallisut": "kl",
72
+ "greenlandic": "kl",
73
+ "guarani": "gn",
74
+ "gujarati": "gu",
75
+ "haitian": "ht",
76
+ "haitian creole": "ht",
77
+ "hausa": "ha",
78
+ "hebrew": "he",
79
+ "herero": "hz",
80
+ "hindi": "hi",
81
+ "hiri motu": "ho",
82
+ "hungarian": "hu",
83
+ "icelandic": "is",
84
+ "ido": "io",
85
+ "igbo": "ig",
86
+ "indonesian": "id",
87
+ "interlingua": "ia",
88
+ "interlingue": "ie",
89
+ "occidental": "ie",
90
+ "inuktitut": "iu",
91
+ "inupiaq": "ik",
92
+ "irish": "ga",
93
+ "italian": "it",
94
+ "japanese": "ja",
95
+ "javanese": "jv",
96
+ "kannada": "kn",
97
+ "kanuri": "kr",
98
+ "kashmiri": "ks",
99
+ "kazakh": "kk",
100
+ "central khmer": "km",
101
+ "kikuyu": "ki",
102
+ "gikuyu": "ki",
103
+ "kinyarwanda": "rw",
104
+ "kirghiz": "ky",
105
+ "kyrgyz": "ky",
106
+ "komi": "kv",
107
+ "kongo": "kg",
108
+ "korean": "ko",
109
+ "kuanyama": "kj",
110
+ "kwanyama": "kj",
111
+ "kurdish": "ku",
112
+ "lao": "lo",
113
+ "latin": "la",
114
+ "latvian": "lv",
115
+ "limburgan": "li",
116
+ "limburger": "li",
117
+ "limburgish": "li",
118
+ "lingala": "ln",
119
+ "lithuanian": "lt",
120
+ "luba-katanga": "lu",
121
+ "luxembourgish": "lb",
122
+ "letzeburgesch": "lb",
123
+ "macedonian": "mk",
124
+ "malagasy": "mg",
125
+ "malay": "ms",
126
+ "malayalam": "ml",
127
+ "maltese": "mt",
128
+ "manx": "gv",
129
+ "maori": "mi",
130
+ "marathi": "mr",
131
+ "marshallese": "mh",
132
+ "mongolian": "mn",
133
+ "nauru": "na",
134
+ "navajo": "nv",
135
+ "navaho": "nv",
136
+ "north ndebele": "nd",
137
+ "south ndebele": "nr",
138
+ "northern ndebele": "nd",
139
+ "southern ndebele": "nr",
140
+ "ndonga": "ng",
141
+ "nepali": "ne",
142
+ "norwegian": "no",
143
+ "norwegian bokmål": "nb",
144
+ "norwegian nynorsk": "nn",
145
+ "sichuan yi": "ii",
146
+ "nuosu": "ii",
147
+ "occitan": "oc",
148
+ "ojibwa": "oj",
149
+ "ojibwe": "oj",
150
+ "oriya": "or",
151
+ "odia": "or",
152
+ "oromo": "om",
153
+ "ossetian": "os",
154
+ "ossetic": "os",
155
+ "pali": "pi",
156
+ "pashto": "ps",
157
+ "pushto": "ps",
158
+ "persian": "fa",
159
+ "polish": "pl",
160
+ "portuguese": "pt",
161
+ "punjabi": "pa",
162
+ "panjabi": "pa",
163
+ "quechua": "qu",
164
+ "romanian": "ro",
165
+ "moldavian": "ro",
166
+ "moldovan": "ro",
167
+ "romansh": "rm",
168
+ "rundi": "rn",
169
+ "kirundi": "rn",
170
+ "russian": "ru",
171
+ "northern sami": "se",
172
+ "sami": "se",
173
+ "samoan": "sm",
174
+ "sango": "sg",
175
+ "sanskrit": "sa",
176
+ "sardinian": "sc",
177
+ "serbian": "sr",
178
+ "shona": "sn",
179
+ "sindhi": "sd",
180
+ "sinhala": "si",
181
+ "sinhalese": "si",
182
+ "slovak": "sk",
183
+ "slovenian": "sl",
184
+ "slovene": "sl",
185
+ "somali": "so",
186
+ "southern sotho": "st",
187
+ "sotho": "st",
188
+ "spanish": "es",
189
+ "castilian": "es",
190
+ "sundanese": "su",
191
+ "swahili": "sw",
192
+ "swati": "ss",
193
+ "swedish": "sv",
194
+ "tagalog": "tl",
195
+ "tahitian": "ty",
196
+ "tajik": "tg",
197
+ "tamil": "ta",
198
+ "tatar": "tt",
199
+ "telugu": "te",
200
+ "thai": "th",
201
+ "tibetan": "bo",
202
+ "tigrinya": "ti",
203
+ "tonga": "to",
204
+ "tongan": "to",
205
+ "tsonga": "ts",
206
+ "tswana": "tn",
207
+ "turkish": "tr",
208
+ "turkmen": "tk",
209
+ "twi": "tw",
210
+ "uighur": "ug",
211
+ "uyghur": "ug",
212
+ "ukrainian": "uk",
213
+ "urdu": "ur",
214
+ "uzbek": "uz",
215
+ "venda": "ve",
216
+ "vietnamese": "vi",
217
+ "volapük": "vo",
218
+ "walloon": "wa",
219
+ "welsh": "cy",
220
+ "wolof": "wo",
221
+ "xhosa": "xh",
222
+ "yiddish": "yi",
223
+ "yoruba": "yo",
224
+ "zhuang": "za",
225
+ "chuang": "za",
226
+ "zulu": "zu"
227
+ }
@@ -0,0 +1,186 @@
1
+ {
2
+ "abk": "Abkhazian",
3
+ "aar": "Afar",
4
+ "afr": "Afrikaans",
5
+ "aka": "Akan",
6
+ "sqi": "Albanian",
7
+ "amh": "Amharic",
8
+ "grc": "Ancient Greek",
9
+ "ara": "Arabic",
10
+ "arg": "Aragonese",
11
+ "hye": "Armenian",
12
+ "asm": "Assamese",
13
+ "ava": "Avaric",
14
+ "ave": "Avestan",
15
+ "aym": "Aymara",
16
+ "aze": "Azerbaijani",
17
+ "bam": "Bambara",
18
+ "bak": "Bashkir",
19
+ "eus": "Basque",
20
+ "bel": "Belarusian",
21
+ "ben": "Bengali",
22
+ "bis": "Bislama",
23
+ "bos": "Bosnian",
24
+ "bre": "Breton",
25
+ "bul": "Bulgarian",
26
+ "mya": "Burmese",
27
+ "cat": "Catalan",
28
+ "cha": "Chamorro",
29
+ "che": "Chechen",
30
+ "nya": "Chichewa",
31
+ "zho": "Chinese",
32
+ "chu": "Slavonic",
33
+ "chv": "Chuvash",
34
+ "cor": "Cornish",
35
+ "cos": "Corsican",
36
+ "cre": "Cree",
37
+ "hrv": "Croatian",
38
+ "ces": "Czech",
39
+ "dan": "Danish",
40
+ "div": "Divehi",
41
+ "nld": "Dutch",
42
+ "dzo": "Dzongkha",
43
+ "eng": "English",
44
+ "epo": "Esperanto",
45
+ "est": "Estonian",
46
+ "ewe": "Ewe",
47
+ "fao": "Faroese",
48
+ "fij": "Fijian",
49
+ "fin": "Finnish",
50
+ "fra": "French",
51
+ "fry": "Frisian",
52
+ "ful": "Fulah",
53
+ "gla": "Gaelic",
54
+ "glg": "Galician",
55
+ "lug": "Ganda",
56
+ "kat": "Georgian",
57
+ "deu": "German",
58
+ "ell": "Greek",
59
+ "kal": "Kalaallisut",
60
+ "grn": "Guarani",
61
+ "guj": "Gujarati",
62
+ "hat": "Haitian Creole",
63
+ "hau": "Hausa",
64
+ "heb": "Hebrew",
65
+ "her": "Herero",
66
+ "hin": "Hindi",
67
+ "hmo": "Hiri Motu",
68
+ "hun": "Hungarian",
69
+ "isl": "Icelandic",
70
+ "ido": "Ido",
71
+ "ibo": "Igbo",
72
+ "ind": "Indonesian",
73
+ "ina": "Interlingua",
74
+ "ile": "Interlingue",
75
+ "iku": "Inuktitut",
76
+ "ipk": "Inupiaq",
77
+ "gle": "Irish",
78
+ "ita": "Italian",
79
+ "jpn": "Japanese",
80
+ "jav": "Javanese",
81
+ "kan": "Kannada",
82
+ "kau": "Kanuri",
83
+ "kas": "Kashmiri",
84
+ "kaz": "Kazakh",
85
+ "khm": "Khmer",
86
+ "kik": "Kikuyu",
87
+ "kin": "Kinyarwanda",
88
+ "kir": "Kyrgyz",
89
+ "kom": "Komi",
90
+ "kon": "Kongo",
91
+ "kor": "Korean",
92
+ "kua": "Kuanyama",
93
+ "kur": "Kurdish",
94
+ "lao": "Lao",
95
+ "lat": "Latin",
96
+ "lav": "Latvian",
97
+ "lim": "Limburgan",
98
+ "lin": "Lingala",
99
+ "lit": "Lithuanian",
100
+ "lub": "Luba-Katanga",
101
+ "ltz": "Luxembourgish",
102
+ "mkd": "Macedonian",
103
+ "mlg": "Malagasy",
104
+ "msa": "Malay",
105
+ "mal": "Malayalam",
106
+ "mlt": "Maltese",
107
+ "glv": "Manx",
108
+ "mri": "Maori",
109
+ "mar": "Marathi",
110
+ "mah": "Marshallese",
111
+ "mon": "Mongolian",
112
+ "nau": "Nauru",
113
+ "nav": "Navajo",
114
+ "nde": "Northern Ndebele",
115
+ "nbl": "Southern Ndebele",
116
+ "ndo": "Ndonga",
117
+ "nep": "Nepali",
118
+ "nor": "Norwegian",
119
+ "nob": "Norwegian Bokmål",
120
+ "nno": "Norwegian Nynorsk",
121
+ "iii": "Nuosu",
122
+ "oci": "Occitan",
123
+ "oji": "Ojibwa",
124
+ "ori": "Oriya",
125
+ "orm": "Oromo",
126
+ "oss": "Ossetian",
127
+ "pli": "Pali",
128
+ "pus": "Pashto",
129
+ "fas": "Persian",
130
+ "pol": "Polish",
131
+ "por": "Portuguese",
132
+ "pan": "Punjabi",
133
+ "que": "Quechua",
134
+ "ron": "Romanian",
135
+ "roh": "Romansh",
136
+ "run": "Rundi",
137
+ "rus": "Russian",
138
+ "sme": "Northern Sami",
139
+ "smo": "Samoan",
140
+ "sag": "Sango",
141
+ "san": "Sanskrit",
142
+ "srd": "Sardinian",
143
+ "srp": "Serbian",
144
+ "sna": "Shona",
145
+ "snd": "Sindhi",
146
+ "sin": "Sinhalese",
147
+ "slk": "Slovak",
148
+ "slv": "Slovenian",
149
+ "som": "Somali",
150
+ "sot": "Sotho",
151
+ "spa": "Spanish",
152
+ "sun": "Sundanese",
153
+ "swa": "Swahili",
154
+ "ssw": "Swati",
155
+ "swe": "Swedish",
156
+ "tgl": "Tagalog",
157
+ "tah": "Tahitian",
158
+ "tgk": "Tajik",
159
+ "tam": "Tamil",
160
+ "tat": "Tatar",
161
+ "tel": "Telugu",
162
+ "tha": "Thai",
163
+ "bod": "Tibetan",
164
+ "tir": "Tigrinya",
165
+ "ton": "Tonga",
166
+ "tso": "Tsonga",
167
+ "tsn": "Tswana",
168
+ "tur": "Turkish",
169
+ "tuk": "Turkmen",
170
+ "twi": "Twi",
171
+ "uig": "Uyghur",
172
+ "ukr": "Ukrainian",
173
+ "urd": "Urdu",
174
+ "uzb": "Uzbek",
175
+ "ven": "Venda",
176
+ "vie": "Vietnamese",
177
+ "vol": "Volapük",
178
+ "wln": "Walloon",
179
+ "cym": "Welsh",
180
+ "wol": "Wolof",
181
+ "xho": "Xhosa",
182
+ "yid": "Yiddish",
183
+ "yor": "Yoruba",
184
+ "zha": "Zhuang",
185
+ "zul": "Zulu"
186
+ }
@@ -0,0 +1,228 @@
1
+ {
2
+ "abkhazian": "abk",
3
+ "afar": "aar",
4
+ "afrikaans": "afr",
5
+ "akan": "aka",
6
+ "albanian": "sqi",
7
+ "amharic": "amh",
8
+ "ancient greek": "grc",
9
+ "arabic": "ara",
10
+ "aragonese": "arg",
11
+ "armenian": "hye",
12
+ "assamese": "asm",
13
+ "avaric": "ava",
14
+ "avestan": "ave",
15
+ "aymara": "aym",
16
+ "azerbaijani": "aze",
17
+ "bambara": "bam",
18
+ "bashkir": "bak",
19
+ "basque": "eus",
20
+ "belarusian": "bel",
21
+ "bengali": "ben",
22
+ "bislama": "bis",
23
+ "bosnian": "bos",
24
+ "breton": "bre",
25
+ "bulgarian": "bul",
26
+ "burmese": "mya",
27
+ "catalan": "cat",
28
+ "valencian": "cat",
29
+ "chamorro": "cha",
30
+ "chechen": "che",
31
+ "chichewa": "nya",
32
+ "chewa": "nya",
33
+ "nyanja": "nya",
34
+ "chinese": "zho",
35
+ "mandarin": "zho",
36
+ "church slavonic": "chu",
37
+ "old slavonic": "chu",
38
+ "old church slavonic": "chu",
39
+ "slavonic": "chu",
40
+ "chuvash": "chv",
41
+ "cornish": "cor",
42
+ "corsican": "cos",
43
+ "cree": "cre",
44
+ "croatian": "hrv",
45
+ "czech": "ces",
46
+ "danish": "dan",
47
+ "divehi": "div",
48
+ "dhivehi": "div",
49
+ "maldivian": "div",
50
+ "dutch": "nld",
51
+ "flemish": "nld",
52
+ "dzongkha": "dzo",
53
+ "english": "eng",
54
+ "esperanto": "epo",
55
+ "estonian": "est",
56
+ "ewe": "ewe",
57
+ "faroese": "fao",
58
+ "fijian": "fij",
59
+ "finnish": "fin",
60
+ "french": "fra",
61
+ "western frisian": "fry",
62
+ "frisian": "fry",
63
+ "fulah": "ful",
64
+ "gaelic": "gla",
65
+ "scottish gaelic": "gla",
66
+ "galician": "glg",
67
+ "ganda": "lug",
68
+ "georgian": "kat",
69
+ "german": "deu",
70
+ "greek": "ell",
71
+ "modern greek": "ell",
72
+ "kalaallisut": "kal",
73
+ "greenlandic": "kal",
74
+ "guarani": "grn",
75
+ "gujarati": "guj",
76
+ "haitian": "hat",
77
+ "haitian creole": "hat",
78
+ "hausa": "hau",
79
+ "hebrew": "heb",
80
+ "herero": "her",
81
+ "hindi": "hin",
82
+ "hiri motu": "hmo",
83
+ "hungarian": "hun",
84
+ "icelandic": "isl",
85
+ "ido": "ido",
86
+ "igbo": "ibo",
87
+ "indonesian": "ind",
88
+ "interlingua": "ina",
89
+ "interlingue": "ile",
90
+ "occidental": "ile",
91
+ "inuktitut": "iku",
92
+ "inupiaq": "ipk",
93
+ "irish": "gle",
94
+ "italian": "ita",
95
+ "japanese": "jpn",
96
+ "javanese": "jav",
97
+ "kannada": "kan",
98
+ "kanuri": "kau",
99
+ "kashmiri": "kas",
100
+ "kazakh": "kaz",
101
+ "central khmer": "khm",
102
+ "kikuyu": "kik",
103
+ "gikuyu": "kik",
104
+ "kinyarwanda": "kin",
105
+ "kirghiz": "kir",
106
+ "kyrgyz": "kir",
107
+ "komi": "kom",
108
+ "kongo": "kon",
109
+ "korean": "kor",
110
+ "kuanyama": "kua",
111
+ "kwanyama": "kua",
112
+ "kurdish": "kur",
113
+ "lao": "lao",
114
+ "latin": "lat",
115
+ "latvian": "lav",
116
+ "limburgan": "lim",
117
+ "limburger": "lim",
118
+ "limburgish": "lim",
119
+ "lingala": "lin",
120
+ "lithuanian": "lit",
121
+ "luba-katanga": "lub",
122
+ "luxembourgish": "ltz",
123
+ "letzeburgesch": "ltz",
124
+ "macedonian": "mkd",
125
+ "malagasy": "mlg",
126
+ "malay": "msa",
127
+ "malayalam": "mal",
128
+ "maltese": "mlt",
129
+ "manx": "glv",
130
+ "maori": "mri",
131
+ "marathi": "mar",
132
+ "marshallese": "mah",
133
+ "mongolian": "mon",
134
+ "nauru": "nau",
135
+ "navajo": "nav",
136
+ "navaho": "nav",
137
+ "north ndebele": "nde",
138
+ "south ndebele": "nbl",
139
+ "northern ndebele": "nde",
140
+ "southern ndebele": "nbl",
141
+ "ndonga": "ndo",
142
+ "nepali": "nep",
143
+ "norwegian": "nor",
144
+ "norwegian bokmål": "nob",
145
+ "norwegian nynorsk": "nno",
146
+ "sichuan yi": "iii",
147
+ "nuosu": "iii",
148
+ "occitan": "oci",
149
+ "ojibwa": "oji",
150
+ "ojibwe": "oji",
151
+ "oriya": "ori",
152
+ "odia": "ori",
153
+ "oromo": "orm",
154
+ "ossetian": "oss",
155
+ "ossetic": "oss",
156
+ "pali": "pli",
157
+ "pashto": "pus",
158
+ "pushto": "pus",
159
+ "persian": "fas",
160
+ "polish": "pol",
161
+ "portuguese": "por",
162
+ "punjabi": "pan",
163
+ "panjabi": "pan",
164
+ "quechua": "que",
165
+ "romanian": "ron",
166
+ "moldavian": "ron",
167
+ "moldovan": "ron",
168
+ "romansh": "roh",
169
+ "rundi": "run",
170
+ "kirundi": "run",
171
+ "russian": "rus",
172
+ "northern sami": "sme",
173
+ "sami": "sme",
174
+ "samoan": "smo",
175
+ "sango": "sag",
176
+ "sanskrit": "san",
177
+ "sardinian": "srd",
178
+ "serbian": "srp",
179
+ "shona": "sna",
180
+ "sindhi": "snd",
181
+ "sinhala": "sin",
182
+ "sinhalese": "sin",
183
+ "slovak": "slk",
184
+ "slovenian": "slv",
185
+ "slovene": "slv",
186
+ "somali": "som",
187
+ "southern sotho": "sot",
188
+ "sotho": "sot",
189
+ "spanish": "spa",
190
+ "castilian": "spa",
191
+ "sundanese": "sun",
192
+ "swahili": "swa",
193
+ "swati": "ssw",
194
+ "swedish": "swe",
195
+ "tagalog": "tgl",
196
+ "tahitian": "tah",
197
+ "tajik": "tgk",
198
+ "tamil": "tam",
199
+ "tatar": "tat",
200
+ "telugu": "tel",
201
+ "thai": "tha",
202
+ "tibetan": "bod",
203
+ "tigrinya": "tir",
204
+ "tonga": "ton",
205
+ "tongan": "ton",
206
+ "tsonga": "tso",
207
+ "tswana": "tsn",
208
+ "turkish": "tur",
209
+ "turkmen": "tuk",
210
+ "twi": "twi",
211
+ "uighur": "uig",
212
+ "uyghur": "uig",
213
+ "ukrainian": "ukr",
214
+ "urdu": "urd",
215
+ "uzbek": "uzb",
216
+ "venda": "ven",
217
+ "vietnamese": "vie",
218
+ "volapük": "vol",
219
+ "walloon": "wln",
220
+ "welsh": "cym",
221
+ "wolof": "wol",
222
+ "xhosa": "xho",
223
+ "yiddish": "yid",
224
+ "yoruba": "yor",
225
+ "zhuang": "zha",
226
+ "chuang": "zha",
227
+ "zulu": "zul"
228
+ }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Represents a language object with optional script and region.
3
+ */
4
+ export type LanguageObject = {
5
+ language: string;
6
+ script?: string;
7
+ region?: string;
8
+ };