Skip to content

Commit

Permalink
Merge pull request #25 from Laravel-Lang/2.x
Browse files Browse the repository at this point in the history
Added support for `laravel-lang/locale-list` 2 version
  • Loading branch information
andrey-helldar authored Dec 22, 2023
2 parents d03cb97 + c82c94d commit 8ebde26
Show file tree
Hide file tree
Showing 145 changed files with 14,101 additions and 81 deletions.
70 changes: 70 additions & 0 deletions app/Processors/Cldr.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,80 @@
class Cldr extends Processor
{
protected array $notSupported = [
'ak',
'am',
'as',
'ay',
'bho',
'bm',
'ceb',
'ckb',
'co',
'de_CH',
'doi',
'dv',
'ee',
'eo',
'fy',
'ga',
'gd',
'gn',
'gom',
'ha',
'haw',
'hmn',
'ht',
'ig',
'ilo',
'jw',
'kri',
'ky',
'la',
'lb',
'lg',
'ln',
'lo',
'lus',
'mai',
'mg',
'mi',
'ml',
'mni_Mtei',
'mt',
'my',
'nso',
'ny',
'om',
'or',
'pa',
'pt_BR',
'qu',
'rw',
'sa',
'sd',
'sm',
'sn',
'so',
'sr_Cyrl',
'sr_Latn',
'sr_Latn_ME',
'st',
'su',
'ta',
'te',
'ti',
'tl',
'ts',
'tt',
'uz_Cyrl',
'uz_Latn',
'xh',
'yi',
'yo',
'zh_CN',
'zh_HK',
'zh_TW',
'zu',
];

public function handle(): void
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"require-dev": {
"illuminate/support": "^10.31",
"laravel-lang/locale-list": "^1.1",
"laravel-lang/locale-list": "^1.2.1",
"pestphp/pest": "^2.24.3",
"punic/punic": "^3.8",
"symfony/console": "^6.3",
Expand Down
64 changes: 63 additions & 1 deletion data/_native.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,58 @@
{
"af": "Afrikaans",
"ak": "Akan",
"am": "Amharic",
"ar": "العربية",
"as": "Assamese",
"ay": "Aymara",
"az": "Azərbaycan",
"be": "Беларуская",
"bg": "Български",
"bho": "Bhojpuri",
"bm": "Bambara",
"bn": "বাংলা",
"bs": "Bosanski",
"ca": "Català",
"ceb": "Cebuano",
"ckb": "Central Kurdish",
"co": "Corsican",
"cs": "Čeština",
"cy": "Cymraeg",
"da": "Dansk",
"de": "Deutsch",
"de_CH": "Deutsch (Schweiz)",
"doi": "Dogri",
"dv": "Divehi",
"ee": "Ewe",
"el": "Ελληνικά",
"en": "English",
"eo": "Esperanto",
"es": "Español",
"et": "Eesti",
"eu": "Euskara",
"fa": "فارسی",
"fi": "Suomi",
"fil": "Filipino",
"fr": "Français",
"fy": "Western Frisian",
"ga": "Irish",
"gd": "Scottish Gaelic",
"gl": "Galego",
"gn": "Guarani",
"gom": "Goan Konkani",
"gu": "ગુજરાતી",
"ha": "Hausa",
"haw": "Hawaiian",
"he": "עברית",
"hi": "हिन्दी",
"hmn": "Hmong",
"hr": "Hrvatski",
"ht": "Créole Haïtien",
"hu": "Magyar",
"hy": "Հայերեն",
"id": "Indonesia",
"ig": "Igbo",
"ilo": "Iloko",
"is": "Íslenska",
"it": "Italiano",
"ja": "日本語",
Expand All @@ -37,45 +61,83 @@
"km": "ខ្មែរ",
"kn": "ಕನ್ನಡ",
"ko": "한국어",
"kri": "Krio",
"ky": "Kyrgyz",
"la": "Latin",
"lb": "Luxembourgish",
"lg": "Ganda",
"ln": "Lingala",
"lo": "Lao",
"lt": "Lietuvių",
"lus": "Mizo",
"lv": "Latviešu",
"mai": "Maithili",
"mg": "Malagasy",
"mi": "Māori",
"mk": "Македонски",
"ml": "Malayalam",
"mn": "Монгол",
"mni_Mtei": "Manipuri",
"mr": "मराठी",
"ms": "Melayu",
"mt": "Maltese",
"my": "Burmese",
"nb": "Norsk Bokmål",
"ne": "नेपाली",
"nl": "Nederlands",
"nn": "Norsk Nynorsk",
"nso": "Northern Sotho",
"ny": "Nyanja",
"oc": "Occitan",
"om": "Oromo",
"or": "Odia",
"pa": "Punjabi",
"pl": "Polski",
"ps": "پښتو",
"pt": "Português",
"pt_BR": "Português (Brasil)",
"qu": "Quechua",
"ro": "Română",
"ru": "Русский",
"rw": "Kinyarwanda",
"sa": "Sanskrit",
"sc": "Sardu",
"sd": "Sindhi",
"si": "සිංහල",
"sk": "Slovenčina",
"sl": "Slovenščina",
"sm": "Samoan",
"sn": "Shona",
"so": "Somali",
"sq": "Shqip",
"sr_Cyrl": "Српски",
"sr_Latn": "Srpski",
"sr_Latn_ME": "Srpski (Crna Gora)",
"st": "Southern Sotho",
"su": "Sundanese",
"sv": "Svenska",
"sw": "Kiswahili",
"ta": "Tamil",
"te": "Telugu",
"tg": "Тоҷикӣ",
"th": "ไทย",
"ti": "Tigrinya",
"tk": "Türkmen Dili",
"tl": "Tagalog",
"tr": "Türkçe",
"ts": "Tsonga",
"tt": "Tatar",
"ug": "ئۇيغۇرچە",
"uk": "Українська",
"ur": "اردو",
"uz_Cyrl": "Ўзбекча",
"uz_Latn": "O‘zbek",
"vi": "Tiếng Việt",
"xh": "Xhosa",
"yi": "Yiddish",
"yo": "Yoruba",
"zh_CN": "中文 (中国)",
"zh_HK": "中文 (中国香港特别行政区)",
"zh_TW": "中文 (台湾)"
"zh_TW": "中文 (台湾)",
"zu": "Zulu"
}
64 changes: 63 additions & 1 deletion data/af.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,58 @@
{
"af": "Afrikaans",
"ak": "Akan",
"am": "Amharies",
"ar": "Arabies",
"as": "Assamees",
"ay": "Aymara",
"az": "Azerbeidjans",
"be": "Belarussies",
"bg": "Bulgaars",
"bho": "Bhojpuri",
"bm": "Bambara",
"bn": "Bengaals",
"bs": "Bosnies",
"ca": "Katalaans",
"ceb": "Cebuano",
"ckb": "Sorani",
"co": "Korsikaans",
"cs": "Tsjeggies",
"cy": "Wallies",
"da": "Deens",
"de": "Duits",
"de_CH": "Duits (Switserland)",
"doi": "Dogri",
"dv": "Divehi",
"ee": "Ewe",
"el": "Grieks",
"en": "Engels",
"eo": "Esperanto",
"es": "Spaans",
"et": "Estnies",
"eu": "Baskies",
"fa": "Persies",
"fi": "Fins",
"fil": "Filippyns",
"fr": "Frans",
"fy": "Fries",
"ga": "Iers",
"gd": "Skotse Gallies",
"gl": "Galisies",
"gn": "Guarani",
"gom": "Goan Konkani",
"gu": "Goedjarati",
"ha": "Hausa",
"haw": "Hawais",
"he": "Hebreeus",
"hi": "Hindi",
"hmn": "Hmong",
"hr": "Kroaties",
"ht": "Haïtiaans",
"hu": "Hongaars",
"hy": "Armeens",
"id": "Indonesies",
"ig": "Igbo",
"ilo": "Iloko",
"is": "Yslands",
"it": "Italiaans",
"ja": "Japannees",
Expand All @@ -37,45 +61,83 @@
"km": "Khmer",
"kn": "Kannada",
"ko": "Koreaans",
"kri": "Krio",
"ky": "Kirgisies",
"la": "Latyn",
"lb": "Luxemburgs",
"lg": "Ganda",
"ln": "Lingaals",
"lo": "Lao",
"lt": "Litaus",
"lus": "Mizo",
"lv": "Letties",
"mai": "Maithili",
"mg": "Malgassies",
"mi": "Maori",
"mk": "Masedonies",
"ml": "Malabaars",
"mn": "Mongools",
"mni_Mtei": "Manipuri",
"mr": "Marathi",
"ms": "Maleis",
"mt": "Maltees",
"my": "Birmaans",
"nb": "Boeknoors",
"ne": "Nepalees",
"nl": "Nederlands",
"nn": "Nuwe Noors",
"nso": "Noord-Sotho",
"ny": "Nyanja",
"oc": "Oksitaans",
"om": "Oromo",
"or": "Oriya",
"pa": "Pandjabi",
"pl": "Pools",
"ps": "Pasjto",
"pt": "Portugees",
"pt_BR": "Portugees (Brasilië)",
"qu": "Quechua",
"ro": "Roemeens",
"ru": "Russies",
"rw": "Rwandees",
"sa": "Sanskrit",
"sc": "Sardinies",
"sd": "Sindhi",
"si": "Sinhala",
"sk": "Slowaaks",
"sl": "Sloweens",
"sm": "Samoaans",
"sn": "Shona",
"so": "Somalies",
"sq": "Albanees",
"sr_Cyrl": "Serwies",
"sr_Latn": "Serwies",
"sr_Latn_ME": "Serwies (Montenegro)",
"st": "Suid-Sotho",
"su": "Sundanees",
"sv": "Sweeds",
"sw": "Swahili",
"ta": "Tamil",
"te": "Teloegoe",
"tg": "Tadjiks",
"th": "Thai",
"ti": "Tigrinya",
"tk": "Turkmeens",
"tl": "Tagalog",
"tr": "Turks",
"ts": "Tsonga",
"tt": "Tataars",
"ug": "Uighur",
"uk": "Oekraïens",
"ur": "Oerdoe",
"uz_Cyrl": "Oezbeeks",
"uz_Latn": "Oezbeeks",
"vi": "Viëtnamees",
"xh": "Xhosa",
"yi": "Jiddisj",
"yo": "Yoruba",
"zh_CN": "Chinees (China)",
"zh_HK": "Chinees (Hongkong Sas China)",
"zh_TW": "Chinees (Taiwan)"
"zh_TW": "Chinees (Taiwan)",
"zu": "Zoeloe"
}
Loading

0 comments on commit 8ebde26

Please sign in to comment.