Skip to content

Commit

Permalink
fix #2619 adds missing iso languages
Browse files Browse the repository at this point in the history
  • Loading branch information
13twelve committed Dec 10, 2024
1 parent 90da826 commit 09608ef
Showing 1 changed file with 43 additions and 2 deletions.
45 changes: 43 additions & 2 deletions src/Helpers/i18n_helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,60 +131,78 @@ function getCodeToLanguageMappings()
'ab' => 'Abkhazian',
'aa' => 'Afar',
'af' => 'Afrikaans',
'ak' => 'Akan',
'sq' => 'Albanian',
'am' => 'Amharic',
'ar' => ['Arabic', 'العربية'],
'an' => 'Aragonese',
'hy' => 'Armenian',
'as' => 'Assamese',
'av' => 'Avaric',
'ae' => 'Avestan',
'ay' => 'Aymara',
'az' => 'Azerbaijani',
'bm' => 'Bambara',
'ba' => 'Bashkir',
'eu' => 'Basque',
'bn' => 'Bengali (Bangla)',
'dz' => 'Bhutani',
'bh' => 'Bihari',
'bi' => 'Bislama',
'bs' => 'Bosnian',
'br' => 'Breton',
'bg' => ['Bulgarian', 'български език'],
'my' => 'Burmese',
'be' => 'Byelorussian (Belarusian)',
'km' => 'Cambodian',
'ca' => 'Catalan',
'ch' => 'Chamorro',
'ce' => 'Chechen',
'ny' => ['Chewa', 'Nyanja'],
'zh' => 'Chinese',
'zh-Hans' => ['Chinese (simplified)', '简体中文'],
'zh-Hant' => ['Chinese (traditional)', '繁體中文'],
'cu' => 'Church Slavonic',
'cv' => 'Chuvash',
'kw' => 'Cornish',
'co' => 'Corsican',
'cr' => 'Cree',
'hr' => 'Croatian',
'cs' => ['Czech', 'čeština'],
'da' => ['Danish', 'Dansk'],
'nl' => ['Dutch', 'Nederlands'],
'en' => 'English',
'eo' => 'Esperanto',
'et' => 'Estonian',
'ee' => 'Ewe',
'fo' => 'Faeroese',
'fa' => 'Farsi',
'fj' => ['Fiji', 'Suomi'],
'fi' => 'Finnish',
'fr' => ['French', 'Français'],
'fy' => 'Frisian',
'gd' => 'Gaelic (Scottish)',
'ff' => 'Fulah',
'gv' => 'Gaelic (Manx)',
'gd' => 'Gaelic (Scottish)',
'gl' => 'Galician',
'lg' => 'Ganda',
'ka' => 'Georgian',
'de' => ['German', 'Deutsch'],
'ki' => 'Gikuyu, Kikuyu',
'el' => ['Greek', 'Ελληνικά'],
'kl' => 'Kalaallisut (Greenlandic)',
'gn' => 'Guarani',
'gu' => 'Gujarati',
'ht' => 'Haitian Creole',
'ha' => 'Hausa',
'he' => 'Hebrew',
'iw' => 'Hebrew',
'hz' => 'Herero',
'hi' => 'Hindi',
'ho' => 'Hiri Motu',
'hu' => ['Hungarian', 'Magyar'],
'is' => 'Icelandic',
'io' => 'Ido',
'ig' => 'Igbo',
'id' => 'Indonesian',
'in' => 'Indonesian',
'ia' => 'Interlingua',
Expand All @@ -195,35 +213,53 @@ function getCodeToLanguageMappings()
'it' => ['Italian', 'Italiano'],
'ja' => ['Japanese', '日本語'],
'jv' => 'Javanese',
'kl' => 'Kalaallisut (Greenlandic)',
'kn' => 'Kannada',
'kr' => 'Kanuri',
'ks' => 'Kashmiri',
'kk' => 'Kazakh',
'rw' => 'Kinyarwanda (Ruanda)',
'ky' => 'Kirghiz',
'rn' => 'Kirundi (Rundi)',
'kv' => 'Komi',
'kg' => 'Kongo',
'ko' => ['Korean', '한국어'],
'kj' => ['Kuanyama', 'Kwanyama'],
'ku' => 'Kurdish',
'lo' => 'Laothian',
'la' => 'Latin',
'lv' => 'Latvian (Lettish)',
'li' => 'Limburgish ( Limburger)',
'ln' => 'Lingala',
'lt' => 'Lithuanian',
'lu' => 'Luba-Katanga',
'lb' => ['Luxembourgish', 'Letzeburgesch'],
'mk' => 'Macedonian',
'mg' => 'Malagasy',
'ms' => 'Malay',
'ml' => 'Malayalam',
'dv' => ['Maldivian', 'Dhivehi'],
'mt' => 'Maltese',
'mi' => 'Maori',
'mr' => 'Marathi',
'mh' => 'Marshallese',
'mo' => 'Moldavian',
'mn' => 'Mongolian',
'na' => 'Nauru',
'nv' => ['Navaho', 'Navajo'],
'ng' => 'Ndonga',
'ne' => 'Nepali',
'nd' => 'Northern Ndebele',
'se' => 'Northern Sami',
'no' => 'Norwegian',
'nb' => 'Norwegian Bokmål',
'nn' => 'Norwegian Nynorsk',
'oc' => 'Occitan',
'oj' => 'Ojibwa',
'or' => 'Oriya',
'om' => 'Oromo (Afan, Galla)',
'os' => ['Ossetic', 'Ossetian'],
'pi' => 'Pali',
'ps' => 'Pashto (Pushto)',
'pl' => ['Polish', 'Polski'],
'pt' => ['Portuguese', 'Português'],
Expand All @@ -235,6 +271,7 @@ function getCodeToLanguageMappings()
'sm' => 'Samoan',
'sg' => 'Sango',
'sa' => 'Sanskrit',
'sc' => 'Sardinian',
'sr' => 'Serbian',
'sh' => 'Serbo-Croatian',
'st' => 'Sesotho',
Expand All @@ -247,11 +284,13 @@ function getCodeToLanguageMappings()
'sk' => 'Slovak',
'sl' => 'Slovenian',
'so' => 'Somali',
'nr' => 'South Ndebele',
'es' => ['Spanish', 'Español'],
'su' => 'Sundanese',
'sw' => 'Swahili (Kiswahili)',
'sv' => ['Swedish', 'Svenska'],
'tl' => 'Tagalog',
'ty' => 'Tahitian',
'tg' => 'Tajik',
'ta' => 'Tamil',
'tt' => 'Tatar',
Expand All @@ -268,6 +307,7 @@ function getCodeToLanguageMappings()
'uk' => ['Ukrainian', 'Українська'],
'ur' => 'Urdu',
'uz' => 'Uzbek',
've' => 'Venda',
'vi' => 'Vietnamese',
'vo' => 'Volapük',
'wa' => 'Wallon',
Expand All @@ -277,6 +317,7 @@ function getCodeToLanguageMappings()
'yi' => 'Yiddish',
'ji' => 'Yiddish',
'yo' => 'Yoruba',
'za' => 'Zhuang',
'zu' => 'Zulu',
];
}
Expand Down

0 comments on commit 09608ef

Please sign in to comment.