Skip to content

Commit d1631aa

Browse files
Merge pull request #5 from Laravel-Lang/1.x
Fixed list of supported localizations
2 parents 13682be + efc0a50 commit d1631aa

File tree

1 file changed

+7
-22
lines changed

1 file changed

+7
-22
lines changed

src/Locale.php

+7-22
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ enum Locale: string
2323
case Arabic = 'ar';
2424
case Armenian = 'hy';
2525
case Assamese = 'as';
26-
case Aymara = 'ay';
2726
case Azerbaijani = 'az';
2827
case Bambara = 'bm';
2928
case Basque = 'eu';
@@ -38,11 +37,9 @@ enum Locale: string
3837
case Chinese = 'zh_CN';
3938
case ChineseHongKong = 'zh_HK';
4039
case ChineseT = 'zh_TW';
41-
case Corsican = 'co';
4240
case Croatian = 'hr';
4341
case Czech = 'cs';
4442
case Danish = 'da';
45-
case Dhivehi = 'dv';
4643
case Dogri = 'doi';
4744
case Dutch = 'nl';
4845
case English = 'en';
@@ -57,32 +54,26 @@ enum Locale: string
5754
case German = 'de';
5855
case GermanSwitzerland = 'de_CH';
5956
case Greek = 'el';
60-
case Guarani = 'gn';
6157
case Gujarati = 'gu';
62-
case Haitian = 'ht';
6358
case Hausa = 'ha';
6459
case Hawaiian = 'haw';
6560
case Hebrew = 'he';
6661
case Hindi = 'hi';
67-
case Hmong = 'hmn';
6862
case Hungarian = 'hu';
6963
case Icelandic = 'is';
7064
case Igbo = 'ig';
71-
case Ilocano = 'ilo';
7265
case Indonesian = 'id';
7366
case Irish = 'ga';
7467
case Italian = 'it';
7568
case Japanese = 'ja';
7669
case Kannada = 'kn';
7770
case Kazakh = 'kk';
7871
case Kinyarwanda = 'rw';
79-
case Konkani = 'gom';
8072
case Korean = 'ko';
81-
case Krio = 'kri';
82-
case Kurdish = 'ckb';
73+
case Kurdish = 'ku';
74+
case KurdishSorani = 'ckb';
8375
case Kyrgyz = 'ky';
8476
case Lao = 'lo';
85-
case Latin = 'la';
8677
case Latvian = 'lv';
8778
case Lingala = 'ln';
8879
case Lithuanian = 'lt';
@@ -96,16 +87,14 @@ enum Locale: string
9687
case Maltese = 'mt';
9788
case Maori = 'mi';
9889
case Marathi = 'mr';
99-
case Meiteilon = 'mni_Mtei';
100-
case Mizo = 'lus';
90+
case MeiteilonManipuri = 'mni_Mtei';
10191
case Mongolian = 'mn';
102-
case Myanmar = 'my';
92+
case MyanmarBurmese = 'my';
10393
case Nepali = 'ne';
10494
case NorwegianBokmal = 'nb';
10595
case NorwegianNynorsk = 'nn';
106-
case Nyanja = 'ny';
10796
case Occitan = 'oc';
108-
case Odia = 'or';
97+
case OdiaOriya = 'or';
10998
case Oromo = 'om';
11099
case Pashto = 'ps';
111100
case Persian = 'fa';
@@ -117,15 +106,12 @@ enum Locale: string
117106
case Quechua = 'qu';
118107
case Romanian = 'ro';
119108
case Russian = 'ru';
120-
case Samoan = 'sm';
121109
case Sanskrit = 'sa';
122110
case Sardinian = 'sc';
123-
case Scots = 'gd';
124-
case Sepedi = 'nso';
111+
case ScotsGaelic = 'gd';
125112
case SerbianCyrillic = 'sr_Cyrl';
126113
case SerbianLatin = 'sr_Latn';
127114
case SerbianMontenegrin = 'sr_Latn_ME';
128-
case Sesotho = 'st';
129115
case Shona = 'sn';
130116
case Sindhi = 'sd';
131117
case Sinhala = 'si';
@@ -143,10 +129,9 @@ enum Locale: string
143129
case Telugu = 'te';
144130
case Thai = 'th';
145131
case Tigrinya = 'ti';
146-
case Tsonga = 'ts';
147132
case Turkish = 'tr';
148133
case Turkmen = 'tk';
149-
case Twi = 'ak';
134+
case TwiAkan = 'ak';
150135
case Uighur = 'ug';
151136
case Ukrainian = 'uk';
152137
case Urdu = 'ur';

0 commit comments

Comments
 (0)