generaltranslation 2.0.67 → 2.0.68

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. package/README.md +1 -369
  2. package/dist/codes/{determineLanguage.js → _determineLanguage.js} +5 -2
  3. package/dist/codes/_isSameLanguage.js +22 -0
  4. package/dist/codes/codes.d.ts +1 -8
  5. package/dist/codes/codes.js +61 -287
  6. package/dist/formatting/{_format.js → format.js} +40 -3
  7. package/dist/formatting/{_string_content.js → string_content.js} +21 -12
  8. package/dist/index.d.ts +55 -72
  9. package/dist/index.js +88 -66
  10. package/dist/settings/libraryDefaultLanguage.d.ts +2 -0
  11. package/dist/settings/libraryDefaultLanguage.js +4 -0
  12. package/dist/translation/dictionaries/_translateBundle.js +2 -2
  13. package/dist/translation/dictionaries/_updateProjectDictionary.js +4 -5
  14. package/dist/translation/react/_translateReact.js +2 -2
  15. package/dist/translation/strings/_translate.js +2 -2
  16. package/package.json +2 -2
  17. package/dist/codes/15924/CodeToScript.json +0 -215
  18. package/dist/codes/15924/ScriptToCode.json +0 -215
  19. package/dist/codes/3166/CodeToRegion.json +0 -296
  20. package/dist/codes/3166/RegionToCode.json +0 -296
  21. package/dist/codes/639-1/CodeToLanguage.json +0 -185
  22. package/dist/codes/639-1/LanguageToCode.json +0 -227
  23. package/dist/codes/639-3/CodeToLanguageTriletter.json +0 -186
  24. package/dist/codes/639-3/LanguageToCodeTriletter.json +0 -228
  25. package/dist/codes/getLanguageDirection.js +0 -71
  26. package/dist/codes/predefined/Predefined.json +0 -28
  27. /package/dist/codes/{determineLanguage.d.ts → _determineLanguage.d.ts} +0 -0
  28. /package/dist/codes/{getLanguageDirection.d.ts → _isSameLanguage.d.ts} +0 -0
  29. /package/dist/formatting/{_format.d.ts → format.d.ts} +0 -0
  30. /package/dist/formatting/{_string_content.d.ts → string_content.d.ts} +0 -0
@@ -1,185 +0,0 @@
1
- {
2
- "ab": "Abkhazian",
3
- "aa": "Afar",
4
- "af": "Afrikaans",
5
- "ak": "Akan",
6
- "sq": "Albanian",
7
- "am": "Amharic",
8
- "ar": "Arabic",
9
- "an": "Aragonese",
10
- "hy": "Armenian",
11
- "as": "Assamese",
12
- "av": "Avaric",
13
- "ae": "Avestan",
14
- "ay": "Aymara",
15
- "az": "Azerbaijani",
16
- "bm": "Bambara",
17
- "ba": "Bashkir",
18
- "eu": "Basque",
19
- "be": "Belarusian",
20
- "bn": "Bengali",
21
- "bi": "Bislama",
22
- "bs": "Bosnian",
23
- "br": "Breton",
24
- "bg": "Bulgarian",
25
- "my": "Burmese",
26
- "ca": "Catalan",
27
- "ch": "Chamorro",
28
- "ce": "Chechen",
29
- "ny": "Chichewa",
30
- "zh": "Chinese",
31
- "cu": "Slavonic",
32
- "cv": "Chuvash",
33
- "kw": "Cornish",
34
- "co": "Corsican",
35
- "cr": "Cree",
36
- "hr": "Croatian",
37
- "cs": "Czech",
38
- "da": "Danish",
39
- "dv": "Divehi",
40
- "nl": "Dutch",
41
- "dz": "Dzongkha",
42
- "en": "English",
43
- "eo": "Esperanto",
44
- "et": "Estonian",
45
- "ee": "Ewe",
46
- "fo": "Faroese",
47
- "fj": "Fijian",
48
- "fi": "Finnish",
49
- "fr": "French",
50
- "fy": "Frisian",
51
- "ff": "Fulah",
52
- "gd": "Gaelic",
53
- "gl": "Galician",
54
- "lg": "Ganda",
55
- "ka": "Georgian",
56
- "de": "German",
57
- "el": "Greek",
58
- "kl": "Kalaallisut",
59
- "gn": "Guarani",
60
- "gu": "Gujarati",
61
- "ht": "Haitian Creole",
62
- "ha": "Hausa",
63
- "he": "Hebrew",
64
- "hz": "Herero",
65
- "hi": "Hindi",
66
- "ho": "Hiri Motu",
67
- "hu": "Hungarian",
68
- "is": "Icelandic",
69
- "io": "Ido",
70
- "ig": "Igbo",
71
- "id": "Indonesian",
72
- "ia": "Interlingua",
73
- "ie": "Interlingue",
74
- "iu": "Inuktitut",
75
- "ik": "Inupiaq",
76
- "ga": "Irish",
77
- "it": "Italian",
78
- "ja": "Japanese",
79
- "jv": "Javanese",
80
- "kn": "Kannada",
81
- "kr": "Kanuri",
82
- "ks": "Kashmiri",
83
- "kk": "Kazakh",
84
- "km": "Khmer",
85
- "ki": "Kikuyu",
86
- "rw": "Kinyarwanda",
87
- "ky": "Kyrgyz",
88
- "kv": "Komi",
89
- "kg": "Kongo",
90
- "ko": "Korean",
91
- "kj": "Kuanyama",
92
- "ku": "Kurdish",
93
- "lo": "Lao",
94
- "la": "Latin",
95
- "lv": "Latvian",
96
- "li": "Limburgan",
97
- "ln": "Lingala",
98
- "lt": "Lithuanian",
99
- "lu": "Luba-Katanga",
100
- "lb": "Luxembourgish",
101
- "mk": "Macedonian",
102
- "mg": "Malagasy",
103
- "ms": "Malay",
104
- "ml": "Malayalam",
105
- "mt": "Maltese",
106
- "gv": "Manx",
107
- "mi": "Maori",
108
- "mr": "Marathi",
109
- "mh": "Marshallese",
110
- "mn": "Mongolian",
111
- "na": "Nauru",
112
- "nv": "Navajo",
113
- "nd": "Northern Ndebele",
114
- "nr": "Southern Ndebele",
115
- "ng": "Ndonga",
116
- "ne": "Nepali",
117
- "no": "Norwegian",
118
- "nb": "Norwegian Bokmål",
119
- "nn": "Norwegian Nynorsk",
120
- "ii": "Nuosu",
121
- "oc": "Occitan",
122
- "oj": "Ojibwa",
123
- "or": "Oriya",
124
- "om": "Oromo",
125
- "os": "Ossetian",
126
- "pi": "Pali",
127
- "ps": "Pashto",
128
- "fa": "Persian",
129
- "pl": "Polish",
130
- "pt": "Portuguese",
131
- "pa": "Punjabi",
132
- "qu": "Quechua",
133
- "ro": "Romanian",
134
- "rm": "Romansh",
135
- "rn": "Rundi",
136
- "ru": "Russian",
137
- "se": "Northern Sami",
138
- "sm": "Samoan",
139
- "sg": "Sango",
140
- "sa": "Sanskrit",
141
- "sc": "Sardinian",
142
- "sr": "Serbian",
143
- "sn": "Shona",
144
- "sd": "Sindhi",
145
- "si": "Sinhalese",
146
- "sk": "Slovak",
147
- "sl": "Slovenian",
148
- "so": "Somali",
149
- "st": "Sotho",
150
- "es": "Spanish",
151
- "su": "Sundanese",
152
- "sw": "Swahili",
153
- "ss": "Swati",
154
- "sv": "Swedish",
155
- "tl": "Tagalog",
156
- "ty": "Tahitian",
157
- "tg": "Tajik",
158
- "ta": "Tamil",
159
- "tt": "Tatar",
160
- "te": "Telugu",
161
- "th": "Thai",
162
- "bo": "Tibetan",
163
- "ti": "Tigrinya",
164
- "to": "Tonga",
165
- "ts": "Tsonga",
166
- "tn": "Tswana",
167
- "tr": "Turkish",
168
- "tk": "Turkmen",
169
- "tw": "Twi",
170
- "ug": "Uyghur",
171
- "uk": "Ukrainian",
172
- "ur": "Urdu",
173
- "uz": "Uzbek",
174
- "ve": "Venda",
175
- "vi": "Vietnamese",
176
- "vo": "Volapük",
177
- "wa": "Walloon",
178
- "cy": "Welsh",
179
- "wo": "Wolof",
180
- "xh": "Xhosa",
181
- "yi": "Yiddish",
182
- "yo": "Yoruba",
183
- "za": "Zhuang",
184
- "zu": "Zulu"
185
- }
@@ -1,227 +0,0 @@
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
- }
@@ -1,186 +0,0 @@
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
- }