Skip to content

Commit

Permalink
chore: update supported languages
Browse files Browse the repository at this point in the history
  • Loading branch information
plainheart committed Dec 8, 2024
1 parent 8bdbf27 commit 1262da4
Show file tree
Hide file tree
Showing 2 changed files with 90 additions and 0 deletions.
45 changes: 45 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,26 +68,37 @@ export declare function translate(
export declare namespace lang {
const LANGS: {
'auto-detect': 'Auto-detect',
'ace': 'Acehnese (Latin)',
'af': 'Afrikaans',
'sq': 'Albanian',
'am': 'Amharic',
'ar': 'Arabic',
'arz': 'Arabic (Egyptian)',
'ary': 'Arabic (Moroccan)',
'arb': 'Arabic (Romanized)',
'hy': 'Armenian',
'as': 'Assamese',
'ast': 'Asturian',
'az': 'Azerbaijani',
'ban': 'Balinese',
'bn': 'Bangla',
'ba': 'Bashkir',
'eu': 'Basque',
'bbc': 'Batak Toba',
'be': 'Belarusian',
'bho': 'Bhojpuri',
'bik': 'Bikol',
'brx': 'Bodo',
'bs': 'Bosnian',
'bg': 'Bulgarian',
'yue': 'Cantonese (Traditional)',
'ca': 'Catalan',
'ceb': 'Cebuano',
'hne': 'Chhattisgarhi',
'lzh': 'Chinese (Literary)',
'zh-Hans': 'Chinese Simplified',
'zh-Hant': 'Chinese Traditional',
'co': 'Corsican',
'hr': 'Croatian',
'cs': 'Czech',
'da': 'Danish',
Expand All @@ -97,13 +108,16 @@ export declare namespace lang {
'nl': 'Dutch',
'en': 'English',
'en-GB': 'English (United Kingdom)',
'epo': 'Esperanto',
'et': 'Estonian',
'fo': 'Faroese',
'fj': 'Fijian',
'fil': 'Filipino',
'fi': 'Finnish',
'fr': 'French',
'fr-CA': 'French (Canada)',
'fy': 'Frisian',
'fur': 'Friulian',
'gl': 'Galician',
'lug': 'Ganda',
'ka': 'Georgian',
Expand All @@ -113,81 +127,109 @@ export declare namespace lang {
'ht': 'Haitian Creole',
'ha': 'Hausa',
'he': 'Hebrew',
'hil': 'Hiligaynon',
'hi': 'Hindi',
'mww': 'Hmong Daw',
'hu': 'Hungarian',
'iba': 'Iban',
'is': 'Icelandic',
'ig': 'Igbo',
'ilo': 'Ilocano',
'id': 'Indonesian',
'ikt': 'Inuinnaqtun',
'iu': 'Inuktitut',
'iu-Latn': 'Inuktitut (Latin)',
'ga': 'Irish',
'it': 'Italian',
'jam': 'Jamaican Patois',
'ja': 'Japanese',
'jav': 'Javanese',
'kea': 'Kabuverdianu',
'kn': 'Kannada',
'pam': 'Kapampangan',
'ks': 'Kashmiri',
'kk': 'Kazakh',
'km': 'Khmer',
'rw': 'Kinyarwanda',
'tlh-Latn': 'Klingon (Latin)',
'gom': 'Konkani',
'ko': 'Korean',
'kri': 'Krio',
'ku': 'Kurdish (Central)',
'kmr': 'Kurdish (Northern)',
'ky': 'Kyrgyz',
'lo': 'Lao',
'la': 'Latin',
'lv': 'Latvian',
'lij': 'Ligurian (Genoese)',
'lim': 'Limburgish',
'ln': 'Lingala',
'lt': 'Lithuanian',
'lmo': 'Lombard',
'dsb': 'Lower Sorbian',
'lb': 'Luxembourgish',
'mk': 'Macedonian',
'mai': 'Maithili',
'mg': 'Malagasy',
'ms': 'Malay',
'ml': 'Malayalam',
'mt': 'Maltese',
'mr': 'Marathi',
'mwr': 'Marwari',
'mfe': 'Mauritian Creole',
'min': 'Minangkabau (Latin)',
'mn-Cyrl': 'Mongolian (Cyrillic)',
'mn-Mong': 'Mongolian (Traditional)',
'my': 'Myanmar (Burmese)',
'mi': 'Māori',
'ne': 'Nepali',
'nb': 'Norwegian',
'nno': 'Norwegian Nynorsk',
'nya': 'Nyanja',
'oc': 'Occitan',
'or': 'Odia',
'pap': 'Papiamento',
'ps': 'Pashto',
'fa': 'Persian',
'pl': 'Polish',
'pt': 'Portuguese (Brazil)',
'pt-PT': 'Portuguese (Portugal)',
'pa': 'Punjabi',
'pnb': 'Punjabi (Shahmukhi)',
'otq': 'Querétaro Otomi',
'ro': 'Romanian',
'run': 'Rundi',
'ru': 'Russian',
'sm': 'Samoan',
'sa': 'Sanskrit',
'srd': 'Sardinian',
'sr-Cyrl': 'Serbian (Cyrillic)',
'sr-Latn': 'Serbian (Latin)',
'st': 'Sesotho',
'nso': 'Sesotho sa Leboa',
'tn': 'Setswana',
'crs': 'Seychelles French Creole',
'sn': 'Shona',
'scn': 'Sicilian',
'sd': 'Sindhi',
'si': 'Sinhala',
'sk': 'Slovak',
'sl': 'Slovenian',
'so': 'Somali',
'es': 'Spanish',
'su': 'Sundanese',
'sw': 'Swahili',
'sv': 'Swedish',
'ty': 'Tahitian',
'tgk': 'Tajik',
'ta': 'Tamil',
'tt': 'Tatar',
'te': 'Telugu',
'tet': 'Tetum',
'th': 'Thai',
'bo': 'Tibetan',
'ti': 'Tigrinya',
'tpi': 'Tok Pisin',
'to': 'Tongan',
'tr': 'Turkish',
'tk': 'Turkmen',
Expand All @@ -196,9 +238,12 @@ export declare namespace lang {
'ur': 'Urdu',
'ug': 'Uyghur',
'uz': 'Uzbek (Latin)',
'vec': 'Venetian',
'vi': 'Vietnamese',
'war': 'Waray',
'cy': 'Welsh',
'xh': 'Xhosa',
'ydd': 'Yiddish (Eastern)',
'yo': 'Yoruba',
'yua': 'Yucatec Maya',
'zu': 'Zulu'
Expand Down
45 changes: 45 additions & 0 deletions src/lang.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,35 @@
{
"ace": "Acehnese (Latin)",
"af": "Afrikaans",
"sq": "Albanian",
"am": "Amharic",
"ar": "Arabic",
"arz": "Arabic (Egyptian)",
"ary": "Arabic (Moroccan)",
"arb": "Arabic (Romanized)",
"hy": "Armenian",
"as": "Assamese",
"ast": "Asturian",
"az": "Azerbaijani",
"ban": "Balinese",
"bn": "Bangla",
"ba": "Bashkir",
"eu": "Basque",
"bbc": "Batak Toba",
"be": "Belarusian",
"bho": "Bhojpuri",
"bik": "Bikol",
"brx": "Bodo",
"bs": "Bosnian",
"bg": "Bulgarian",
"yue": "Cantonese (Traditional)",
"ca": "Catalan",
"ceb": "Cebuano",
"hne": "Chhattisgarhi",
"lzh": "Chinese (Literary)",
"zh-Hans": "Chinese Simplified",
"zh-Hant": "Chinese Traditional",
"co": "Corsican",
"hr": "Croatian",
"cs": "Czech",
"da": "Danish",
Expand All @@ -28,13 +39,16 @@
"nl": "Dutch",
"en": "English",
"en-GB": "English (United Kingdom)",
"epo": "Esperanto",
"et": "Estonian",
"fo": "Faroese",
"fj": "Fijian",
"fil": "Filipino",
"fi": "Finnish",
"fr": "French",
"fr-CA": "French (Canada)",
"fy": "Frisian",
"fur": "Friulian",
"gl": "Galician",
"lug": "Ganda",
"ka": "Georgian",
Expand All @@ -44,81 +58,109 @@
"ht": "Haitian Creole",
"ha": "Hausa",
"he": "Hebrew",
"hil": "Hiligaynon",
"hi": "Hindi",
"mww": "Hmong Daw",
"hu": "Hungarian",
"iba": "Iban",
"is": "Icelandic",
"ig": "Igbo",
"ilo": "Ilocano",
"id": "Indonesian",
"ikt": "Inuinnaqtun",
"iu": "Inuktitut",
"iu-Latn": "Inuktitut (Latin)",
"ga": "Irish",
"it": "Italian",
"jam": "Jamaican Patois",
"ja": "Japanese",
"jav": "Javanese",
"kea": "Kabuverdianu",
"kn": "Kannada",
"pam": "Kapampangan",
"ks": "Kashmiri",
"kk": "Kazakh",
"km": "Khmer",
"rw": "Kinyarwanda",
"tlh-Latn": "Klingon (Latin)",
"gom": "Konkani",
"ko": "Korean",
"kri": "Krio",
"ku": "Kurdish (Central)",
"kmr": "Kurdish (Northern)",
"ky": "Kyrgyz",
"lo": "Lao",
"la": "Latin",
"lv": "Latvian",
"lij": "Ligurian (Genoese)",
"lim": "Limburgish",
"ln": "Lingala",
"lt": "Lithuanian",
"lmo": "Lombard",
"dsb": "Lower Sorbian",
"lb": "Luxembourgish",
"mk": "Macedonian",
"mai": "Maithili",
"mg": "Malagasy",
"ms": "Malay",
"ml": "Malayalam",
"mt": "Maltese",
"mr": "Marathi",
"mwr": "Marwari",
"mfe": "Mauritian Creole",
"min": "Minangkabau (Latin)",
"mn-Cyrl": "Mongolian (Cyrillic)",
"mn-Mong": "Mongolian (Traditional)",
"my": "Myanmar (Burmese)",
"mi": "Māori",
"ne": "Nepali",
"nb": "Norwegian",
"nno": "Norwegian Nynorsk",
"nya": "Nyanja",
"oc": "Occitan",
"or": "Odia",
"pap": "Papiamento",
"ps": "Pashto",
"fa": "Persian",
"pl": "Polish",
"pt": "Portuguese (Brazil)",
"pt-PT": "Portuguese (Portugal)",
"pa": "Punjabi",
"pnb": "Punjabi (Shahmukhi)",
"otq": "Querétaro Otomi",
"ro": "Romanian",
"run": "Rundi",
"ru": "Russian",
"sm": "Samoan",
"sa": "Sanskrit",
"srd": "Sardinian",
"sr-Cyrl": "Serbian (Cyrillic)",
"sr-Latn": "Serbian (Latin)",
"st": "Sesotho",
"nso": "Sesotho sa Leboa",
"tn": "Setswana",
"crs": "Seychelles French Creole",
"sn": "Shona",
"scn": "Sicilian",
"sd": "Sindhi",
"si": "Sinhala",
"sk": "Slovak",
"sl": "Slovenian",
"so": "Somali",
"es": "Spanish",
"su": "Sundanese",
"sw": "Swahili",
"sv": "Swedish",
"ty": "Tahitian",
"tgk": "Tajik",
"ta": "Tamil",
"tt": "Tatar",
"te": "Telugu",
"tet": "Tetum",
"th": "Thai",
"bo": "Tibetan",
"ti": "Tigrinya",
"tpi": "Tok Pisin",
"to": "Tongan",
"tr": "Turkish",
"tk": "Turkmen",
Expand All @@ -127,9 +169,12 @@
"ur": "Urdu",
"ug": "Uyghur",
"uz": "Uzbek (Latin)",
"vec": "Venetian",
"vi": "Vietnamese",
"war": "Waray",
"cy": "Welsh",
"xh": "Xhosa",
"ydd": "Yiddish (Eastern)",
"yo": "Yoruba",
"yua": "Yucatec Maya",
"zu": "Zulu"
Expand Down

0 comments on commit 1262da4

Please sign in to comment.