PHP массив всех возможных локалей

Список всех локалей и их короткие коды. Вариант 1.

<?php
$locales = [
    'af_NA'       => 'Afrikaans (Namibia)',
    'af_ZA'       => 'Afrikaans (South Africa)',
    'af'          => 'Afrikaans',
    'ak_GH'       => 'Akan (Ghana)',
    'ak'          => 'Akan',
    'sq_AL'       => 'Albanian (Albania)',
    'sq'          => 'Albanian',
    'am_ET'       => 'Amharic (Ethiopia)',
    'am'          => 'Amharic',
    'ar_DZ'       => 'Arabic (Algeria)',
    'ar_BH'       => 'Arabic (Bahrain)',
    'ar_EG'       => 'Arabic (Egypt)',
    'ar_IQ'       => 'Arabic (Iraq)',
    'ar_JO'       => 'Arabic (Jordan)',
    'ar_KW'       => 'Arabic (Kuwait)',
    'ar_LB'       => 'Arabic (Lebanon)',
    'ar_LY'       => 'Arabic (Libya)',
    'ar_MA'       => 'Arabic (Morocco)',
    'ar_OM'       => 'Arabic (Oman)',
    'ar_QA'       => 'Arabic (Qatar)',
    'ar_SA'       => 'Arabic (Saudi Arabia)',
    'ar_SD'       => 'Arabic (Sudan)',
    'ar_SY'       => 'Arabic (Syria)',
    'ar_TN'       => 'Arabic (Tunisia)',
    'ar_AE'       => 'Arabic (United Arab Emirates)',
    'ar_YE'       => 'Arabic (Yemen)',
    'ar'          => 'Arabic',
    'hy_AM'       => 'Armenian (Armenia)',
    'hy'          => 'Armenian',
    'as_IN'       => 'Assamese (India)',
    'as'          => 'Assamese',
    'asa_TZ'      => 'Asu (Tanzania)',
    'asa'         => 'Asu',
    'az_Cyrl'     => 'Azerbaijani (Cyrillic)',
    'az_Cyrl_AZ'  => 'Azerbaijani (Cyrillic, Azerbaijan)',
    'az_Latn'     => 'Azerbaijani (Latin)',
    'az_Latn_AZ'  => 'Azerbaijani (Latin, Azerbaijan)',
    'az'          => 'Azerbaijani',
    'bm_ML'       => 'Bambara (Mali)',
    'bm'          => 'Bambara',
    'eu_ES'       => 'Basque (Spain)',
    'eu'          => 'Basque',
    'be_BY'       => 'Belarusian (Belarus)',
    'be'          => 'Belarusian',
    'bem_ZM'      => 'Bemba (Zambia)',
    'bem'         => 'Bemba',
    'bez_TZ'      => 'Bena (Tanzania)',
    'bez'         => 'Bena',
    'bn_BD'       => 'Bengali (Bangladesh)',
    'bn_IN'       => 'Bengali (India)',
    'bn'          => 'Bengali',
    'bs_BA'       => 'Bosnian (Bosnia and Herzegovina)',
    'bs'          => 'Bosnian',
    'bg_BG'       => 'Bulgarian (Bulgaria)',
    'bg'          => 'Bulgarian',
    'my_MM'       => 'Burmese (Myanmar [Burma])',
    'my'          => 'Burmese',
    'ca_ES'       => 'Catalan (Spain)',
    'ca'          => 'Catalan',
    'tzm_Latn'    => 'Central Morocco Tamazight (Latin)',
    'tzm_Latn_MA' => 'Central Morocco Tamazight (Latin, Morocco)',
    'tzm'         => 'Central Morocco Tamazight',
    'chr_US'      => 'Cherokee (United States)',
    'chr'         => 'Cherokee',
    'cgg_UG'      => 'Chiga (Uganda)',
    'cgg'         => 'Chiga',
    'zh_Hans'     => 'Chinese (Simplified Han)',
    'zh_Hans_CN'  => 'Chinese (Simplified Han, China)',
    'zh_Hans_HK'  => 'Chinese (Simplified Han, Hong Kong SAR China)',
    'zh_Hans_MO'  => 'Chinese (Simplified Han, Macau SAR China)',
    'zh_Hans_SG'  => 'Chinese (Simplified Han, Singapore)',
    'zh_Hant'     => 'Chinese (Traditional Han)',
    'zh_Hant_HK'  => 'Chinese (Traditional Han, Hong Kong SAR China)',
    'zh_Hant_MO'  => 'Chinese (Traditional Han, Macau SAR China)',
    'zh_Hant_TW'  => 'Chinese (Traditional Han, Taiwan)',
    'zh'          => 'Chinese',
    'kw_GB'       => 'Cornish (United Kingdom)',
    'kw'          => 'Cornish',
    'hr_HR'       => 'Croatian (Croatia)',
    'hr'          => 'Croatian',
    'cs_CZ'       => 'Czech (Czech Republic)',
    'cs'          => 'Czech',
    'da_DK'       => 'Danish (Denmark)',
    'da'          => 'Danish',
    'nl_BE'       => 'Dutch (Belgium)',
    'nl_NL'       => 'Dutch (Netherlands)',
    'nl'          => 'Dutch',
    'ebu_KE'      => 'Embu (Kenya)',
    'ebu'         => 'Embu',
    'en_AS'       => 'English (American Samoa)',
    'en_AU'       => 'English (Australia)',
    'en_BE'       => 'English (Belgium)',
    'en_BZ'       => 'English (Belize)',
    'en_BW'       => 'English (Botswana)',
    'en_CA'       => 'English (Canada)',
    'en_GU'       => 'English (Guam)',
    'en_HK'       => 'English (Hong Kong SAR China)',
    'en_IN'       => 'English (India)',
    'en_IE'       => 'English (Ireland)',
    'en_JM'       => 'English (Jamaica)',
    'en_MT'       => 'English (Malta)',
    'en_MH'       => 'English (Marshall Islands)',
    'en_MU'       => 'English (Mauritius)',
    'en_NA'       => 'English (Namibia)',
    'en_NZ'       => 'English (New Zealand)',
    'en_MP'       => 'English (Northern Mariana Islands)',
    'en_PK'       => 'English (Pakistan)',
    'en_PH'       => 'English (Philippines)',
    'en_SG'       => 'English (Singapore)',
    'en_ZA'       => 'English (South Africa)',
    'en_TT'       => 'English (Trinidad and Tobago)',
    'en_UM'       => 'English (U.S. Minor Outlying Islands)',
    'en_VI'       => 'English (U.S. Virgin Islands)',
    'en_GB'       => 'English (United Kingdom)',
    'en_US'       => 'English (United States)',
    'en_ZW'       => 'English (Zimbabwe)',
    'en'          => 'English',
    'eo'          => 'Esperanto',
    'et_EE'       => 'Estonian (Estonia)',
    'et'          => 'Estonian',
    'ee_GH'       => 'Ewe (Ghana)',
    'ee_TG'       => 'Ewe (Togo)',
    'ee'          => 'Ewe',
    'fo_FO'       => 'Faroese (Faroe Islands)',
    'fo'          => 'Faroese',
    'fil_PH'      => 'Filipino (Philippines)',
    'fil'         => 'Filipino',
    'fi_FI'       => 'Finnish (Finland)',
    'fi'          => 'Finnish',
    'fr_BE'       => 'French (Belgium)',
    'fr_BJ'       => 'French (Benin)',
    'fr_BF'       => 'French (Burkina Faso)',
    'fr_BI'       => 'French (Burundi)',
    'fr_CM'       => 'French (Cameroon)',
    'fr_CA'       => 'French (Canada)',
    'fr_CF'       => 'French (Central African Republic)',
    'fr_TD'       => 'French (Chad)',
    'fr_KM'       => 'French (Comoros)',
    'fr_CG'       => 'French (Congo - Brazzaville)',
    'fr_CD'       => 'French (Congo - Kinshasa)',
    'fr_CI'       => 'French (Côte d’Ivoire)',
    'fr_DJ'       => 'French (Djibouti)',
    'fr_GQ'       => 'French (Equatorial Guinea)',
    'fr_FR'       => 'French (France)',
    'fr_GA'       => 'French (Gabon)',
    'fr_GP'       => 'French (Guadeloupe)',
    'fr_GN'       => 'French (Guinea)',
    'fr_LU'       => 'French (Luxembourg)',
    'fr_MG'       => 'French (Madagascar)',
    'fr_ML'       => 'French (Mali)',
    'fr_MQ'       => 'French (Martinique)',
    'fr_MC'       => 'French (Monaco)',
    'fr_NE'       => 'French (Niger)',
    'fr_RW'       => 'French (Rwanda)',
    'fr_RE'       => 'French (Réunion)',
    'fr_BL'       => 'French (Saint Barthélemy)',
    'fr_MF'       => 'French (Saint Martin)',
    'fr_SN'       => 'French (Senegal)',
    'fr_CH'       => 'French (Switzerland)',
    'fr_TG'       => 'French (Togo)',
    'fr'          => 'French',
    'ff_SN'       => 'Fulah (Senegal)',
    'ff'          => 'Fulah',
    'gl_ES'       => 'Galician (Spain)',
    'gl'          => 'Galician',
    'lg_UG'       => 'Ganda (Uganda)',
    'lg'          => 'Ganda',
    'ka_GE'       => 'Georgian (Georgia)',
    'ka'          => 'Georgian',
    'de_AT'       => 'German (Austria)',
    'de_BE'       => 'German (Belgium)',
    'de_DE'       => 'German (Germany)',
    'de_LI'       => 'German (Liechtenstein)',
    'de_LU'       => 'German (Luxembourg)',
    'de_CH'       => 'German (Switzerland)',
    'de'          => 'German',
    'el_CY'       => 'Greek (Cyprus)',
    'el_GR'       => 'Greek (Greece)',
    'el'          => 'Greek',
    'gu_IN'       => 'Gujarati (India)',
    'gu'          => 'Gujarati',
    'guz_KE'      => 'Gusii (Kenya)',
    'guz'         => 'Gusii',
    'ha_Latn'     => 'Hausa (Latin)',
    'ha_Latn_GH'  => 'Hausa (Latin, Ghana)',
    'ha_Latn_NE'  => 'Hausa (Latin, Niger)',
    'ha_Latn_NG'  => 'Hausa (Latin, Nigeria)',
    'ha'          => 'Hausa',
    'haw_US'      => 'Hawaiian (United States)',
    'haw'         => 'Hawaiian',
    'he_IL'       => 'Hebrew (Israel)',
    'he'          => 'Hebrew',
    'hi_IN'       => 'Hindi (India)',
    'hi'          => 'Hindi',
    'hu_HU'       => 'Hungarian (Hungary)',
    'hu'          => 'Hungarian',
    'is_IS'       => 'Icelandic (Iceland)',
    'is'          => 'Icelandic',
    'ig_NG'       => 'Igbo (Nigeria)',
    'ig'          => 'Igbo',
    'id_ID'       => 'Indonesian (Indonesia)',
    'id'          => 'Indonesian',
    'ga_IE'       => 'Irish (Ireland)',
    'ga'          => 'Irish',
    'it_IT'       => 'Italian (Italy)',
    'it_CH'       => 'Italian (Switzerland)',
    'it'          => 'Italian',
    'ja_JP'       => 'Japanese (Japan)',
    'ja'          => 'Japanese',
    'kea_CV'      => 'Kabuverdianu (Cape Verde)',
    'kea'         => 'Kabuverdianu',
    'kab_DZ'      => 'Kabyle (Algeria)',
    'kab'         => 'Kabyle',
    'kl_GL'       => 'Kalaallisut (Greenland)',
    'kl'          => 'Kalaallisut',
    'kln_KE'      => 'Kalenjin (Kenya)',
    'kln'         => 'Kalenjin',
    'kam_KE'      => 'Kamba (Kenya)',
    'kam'         => 'Kamba',
    'kn_IN'       => 'Kannada (India)',
    'kn'          => 'Kannada',
    'kk_Cyrl'     => 'Kazakh (Cyrillic)',
    'kk_Cyrl_KZ'  => 'Kazakh (Cyrillic, Kazakhstan)',
    'kk'          => 'Kazakh',
    'km_KH'       => 'Khmer (Cambodia)',
    'km'          => 'Khmer',
    'ki_KE'       => 'Kikuyu (Kenya)',
    'ki'          => 'Kikuyu',
    'rw_RW'       => 'Kinyarwanda (Rwanda)',
    'rw'          => 'Kinyarwanda',
    'kok_IN'      => 'Konkani (India)',
    'kok'         => 'Konkani',
    'ko_KR'       => 'Korean (South Korea)',
    'ko'          => 'Korean',
    'khq_ML'      => 'Koyra Chiini (Mali)',
    'khq'         => 'Koyra Chiini',
    'ses_ML'      => 'Koyraboro Senni (Mali)',
    'ses'         => 'Koyraboro Senni',
    'lag_TZ'      => 'Langi (Tanzania)',
    'lag'         => 'Langi',
    'lv_LV'       => 'Latvian (Latvia)',
    'lv'          => 'Latvian',
    'lt_LT'       => 'Lithuanian (Lithuania)',
    'lt'          => 'Lithuanian',
    'luo_KE'      => 'Luo (Kenya)',
    'luo'         => 'Luo',
    'luy_KE'      => 'Luyia (Kenya)',
    'luy'         => 'Luyia',
    'mk_MK'       => 'Macedonian (Macedonia)',
    'mk'          => 'Macedonian',
    'jmc_TZ'      => 'Machame (Tanzania)',
    'jmc'         => 'Machame',
    'kde_TZ'      => 'Makonde (Tanzania)',
    'kde'         => 'Makonde',
    'mg_MG'       => 'Malagasy (Madagascar)',
    'mg'          => 'Malagasy',
    'ms_BN'       => 'Malay (Brunei)',
    'ms_MY'       => 'Malay (Malaysia)',
    'ms'          => 'Malay',
    'ml_IN'       => 'Malayalam (India)',
    'ml'          => 'Malayalam',
    'mt_MT'       => 'Maltese (Malta)',
    'mt'          => 'Maltese',
    'gv_GB'       => 'Manx (United Kingdom)',
    'gv'          => 'Manx',
    'mr_IN'       => 'Marathi (India)',
    'mr'          => 'Marathi',
    'mas_KE'      => 'Masai (Kenya)',
    'mas_TZ'      => 'Masai (Tanzania)',
    'mas'         => 'Masai',
    'mer_KE'      => 'Meru (Kenya)',
    'mer'         => 'Meru',
    'mfe_MU'      => 'Morisyen (Mauritius)',
    'mfe'         => 'Morisyen',
    'naq_NA'      => 'Nama (Namibia)',
    'naq'         => 'Nama',
    'ne_IN'       => 'Nepali (India)',
    'ne_NP'       => 'Nepali (Nepal)',
    'ne'          => 'Nepali',
    'nd_ZW'       => 'North Ndebele (Zimbabwe)',
    'nd'          => 'North Ndebele',
    'nb_NO'       => 'Norwegian Bokmål (Norway)',
    'nb'          => 'Norwegian Bokmål',
    'nn_NO'       => 'Norwegian Nynorsk (Norway)',
    'nn'          => 'Norwegian Nynorsk',
    'nyn_UG'      => 'Nyankole (Uganda)',
    'nyn'         => 'Nyankole',
    'or_IN'       => 'Oriya (India)',
    'or'          => 'Oriya',
    'om_ET'       => 'Oromo (Ethiopia)',
    'om_KE'       => 'Oromo (Kenya)',
    'om'          => 'Oromo',
    'ps_AF'       => 'Pashto (Afghanistan)',
    'ps'          => 'Pashto',
    'fa_AF'       => 'Persian (Afghanistan)',
    'fa_IR'       => 'Persian (Iran)',
    'fa'          => 'Persian',
    'pl_PL'       => 'Polish (Poland)',
    'pl'          => 'Polish',
    'pt_BR'       => 'Portuguese (Brazil)',
    'pt_GW'       => 'Portuguese (Guinea-Bissau)',
    'pt_MZ'       => 'Portuguese (Mozambique)',
    'pt_PT'       => 'Portuguese (Portugal)',
    'pt'          => 'Portuguese',
    'pa_Arab'     => 'Punjabi (Arabic)',
    'pa_Arab_PK'  => 'Punjabi (Arabic, Pakistan)',
    'pa_Guru'     => 'Punjabi (Gurmukhi)',
    'pa_Guru_IN'  => 'Punjabi (Gurmukhi, India)',
    'pa'          => 'Punjabi',
    'ro_MD'       => 'Romanian (Moldova)',
    'ro_RO'       => 'Romanian (Romania)',
    'ro'          => 'Romanian',
    'rm_CH'       => 'Romansh (Switzerland)',
    'rm'          => 'Romansh',
    'rof_TZ'      => 'Rombo (Tanzania)',
    'rof'         => 'Rombo',
    'ru_MD'       => 'Russian (Moldova)',
    'ru_RU'       => 'Russian (Russia)',
    'ru_UA'       => 'Russian (Ukraine)',
    'ru'          => 'Russian',
    'rwk_TZ'      => 'Rwa (Tanzania)',
    'rwk'         => 'Rwa',
    'saq_KE'      => 'Samburu (Kenya)',
    'saq'         => 'Samburu',
    'sg_CF'       => 'Sango (Central African Republic)',
    'sg'          => 'Sango',
    'seh_MZ'      => 'Sena (Mozambique)',
    'seh'         => 'Sena',
    'sr_Cyrl'     => 'Serbian (Cyrillic)',
    'sr_Cyrl_BA'  => 'Serbian (Cyrillic, Bosnia and Herzegovina)',
    'sr_Cyrl_ME'  => 'Serbian (Cyrillic, Montenegro)',
    'sr_Cyrl_RS'  => 'Serbian (Cyrillic, Serbia)',
    'sr_Latn'     => 'Serbian (Latin)',
    'sr_Latn_BA'  => 'Serbian (Latin, Bosnia and Herzegovina)',
    'sr_Latn_ME'  => 'Serbian (Latin, Montenegro)',
    'sr_Latn_RS'  => 'Serbian (Latin, Serbia)',
    'sr'          => 'Serbian',
    'sn_ZW'       => 'Shona (Zimbabwe)',
    'sn'          => 'Shona',
    'ii_CN'       => 'Sichuan Yi (China)',
    'ii'          => 'Sichuan Yi',
    'si_LK'       => 'Sinhala (Sri Lanka)',
    'si'          => 'Sinhala',
    'sk_SK'       => 'Slovak (Slovakia)',
    'sk'          => 'Slovak',
    'sl_SI'       => 'Slovenian (Slovenia)',
    'sl'          => 'Slovenian',
    'xog_UG'      => 'Soga (Uganda)',
    'xog'         => 'Soga',
    'so_DJ'       => 'Somali (Djibouti)',
    'so_ET'       => 'Somali (Ethiopia)',
    'so_KE'       => 'Somali (Kenya)',
    'so_SO'       => 'Somali (Somalia)',
    'so'          => 'Somali',
    'es_AR'       => 'Spanish (Argentina)',
    'es_BO'       => 'Spanish (Bolivia)',
    'es_CL'       => 'Spanish (Chile)',
    'es_CO'       => 'Spanish (Colombia)',
    'es_CR'       => 'Spanish (Costa Rica)',
    'es_DO'       => 'Spanish (Dominican Republic)',
    'es_EC'       => 'Spanish (Ecuador)',
    'es_SV'       => 'Spanish (El Salvador)',
    'es_GQ'       => 'Spanish (Equatorial Guinea)',
    'es_GT'       => 'Spanish (Guatemala)',
    'es_HN'       => 'Spanish (Honduras)',
    'es_419'      => 'Spanish (Latin America)',
    'es_MX'       => 'Spanish (Mexico)',
    'es_NI'       => 'Spanish (Nicaragua)',
    'es_PA'       => 'Spanish (Panama)',
    'es_PY'       => 'Spanish (Paraguay)',
    'es_PE'       => 'Spanish (Peru)',
    'es_PR'       => 'Spanish (Puerto Rico)',
    'es_ES'       => 'Spanish (Spain)',
    'es_US'       => 'Spanish (United States)',
    'es_UY'       => 'Spanish (Uruguay)',
    'es_VE'       => 'Spanish (Venezuela)',
    'es'          => 'Spanish',
    'sw_KE'       => 'Swahili (Kenya)',
    'sw_TZ'       => 'Swahili (Tanzania)',
    'sw'          => 'Swahili',
    'sv_FI'       => 'Swedish (Finland)',
    'sv_SE'       => 'Swedish (Sweden)',
    'sv'          => 'Swedish',
    'gsw_CH'      => 'Swiss German (Switzerland)',
    'gsw'         => 'Swiss German',
    'shi_Latn'    => 'Tachelhit (Latin)',
    'shi_Latn_MA' => 'Tachelhit (Latin, Morocco)',
    'shi_Tfng'    => 'Tachelhit (Tifinagh)',
    'shi_Tfng_MA' => 'Tachelhit (Tifinagh, Morocco)',
    'shi'         => 'Tachelhit',
    'dav_KE'      => 'Taita (Kenya)',
    'dav'         => 'Taita',
    'ta_IN'       => 'Tamil (India)',
    'ta_LK'       => 'Tamil (Sri Lanka)',
    'ta'          => 'Tamil',
    'te_IN'       => 'Telugu (India)',
    'te'          => 'Telugu',
    'teo_KE'      => 'Teso (Kenya)',
    'teo_UG'      => 'Teso (Uganda)',
    'teo'         => 'Teso',
    'th_TH'       => 'Thai (Thailand)',
    'th'          => 'Thai',
    'bo_CN'       => 'Tibetan (China)',
    'bo_IN'       => 'Tibetan (India)',
    'bo'          => 'Tibetan',
    'ti_ER'       => 'Tigrinya (Eritrea)',
    'ti_ET'       => 'Tigrinya (Ethiopia)',
    'ti'          => 'Tigrinya',
    'to_TO'       => 'Tonga (Tonga)',
    'to'          => 'Tonga',
    'tr_TR'       => 'Turkish (Turkey)',
    'tr'          => 'Turkish',
    'uk_UA'       => 'Ukrainian (Ukraine)',
    'uk'          => 'Ukrainian',
    'ur_IN'       => 'Urdu (India)',
    'ur_PK'       => 'Urdu (Pakistan)',
    'ur'          => 'Urdu',
    'uz_Arab'     => 'Uzbek (Arabic)',
    'uz_Arab_AF'  => 'Uzbek (Arabic, Afghanistan)',
    'uz_Cyrl'     => 'Uzbek (Cyrillic)',
    'uz_Cyrl_UZ'  => 'Uzbek (Cyrillic, Uzbekistan)',
    'uz_Latn'     => 'Uzbek (Latin)',
    'uz_Latn_UZ'  => 'Uzbek (Latin, Uzbekistan)',
    'uz'          => 'Uzbek',
    'vi_VN'       => 'Vietnamese (Vietnam)',
    'vi'          => 'Vietnamese',
    'vun_TZ'      => 'Vunjo (Tanzania)',
    'vun'         => 'Vunjo',
    'cy_GB'       => 'Welsh (United Kingdom)',
    'cy'          => 'Welsh',
    'yo_NG'       => 'Yoruba (Nigeria)',
    'yo'          => 'Yoruba',
    'zu_ZA'       => 'Zulu (South Africa)',
    'zu'          => 'Zulu',
];

Список всех локалей и их короткие коды. Вариант 2.

<?php
$locales = [
 ['code'=>'af_NA', 'name'=>'Afrikaans (Namibia)'],
 ['code'=>'af_ZA', 'name'=> 'Afrikaans (South Africa)'],
 ['code'=>'af', 'name'=> 'Afrikaans'],
 ['code'=>'ak_GH', 'name'=> 'Akan (Ghana)'],
 ['code'=>'ak', 'name'=> 'Akan'],
 ['code'=>'sq_AL', 'name'=> 'Albanian (Albania)'],
 ['code'=>'sq', 'name'=> 'Albanian'],
 ['code'=>'am_ET', 'name'=> 'Amharic (Ethiopia)'],
 ['code'=>'am', 'name'=> 'Amharic'],
 ['code'=>'ar_DZ', 'name'=> 'Arabic (Algeria)'],
 ['code'=>'ar_BH', 'name'=> 'Arabic (Bahrain)'],
 ['code'=>'ar_EG', 'name'=> 'Arabic (Egypt)'],
 ['code'=>'ar_IQ', 'name'=> 'Arabic (Iraq)'],
 ['code'=>'ar_JO', 'name'=> 'Arabic (Jordan)'],
 ['code'=>'ar_KW', 'name'=> 'Arabic (Kuwait)'],
 ['code'=>'ar_LB', 'name'=> 'Arabic (Lebanon)'],
 ['code'=>'ar_LY', 'name'=> 'Arabic (Libya)'],
 ['code'=>'ar_MA', 'name'=> 'Arabic (Morocco)'],
 ['code'=>'ar_OM', 'name'=> 'Arabic (Oman)'],
 ['code'=>'ar_QA', 'name'=> 'Arabic (Qatar)'],
 ['code'=>'ar_SA', 'name'=> 'Arabic (Saudi Arabia)'],
 ['code'=>'ar_SD', 'name'=> 'Arabic (Sudan)'],
 ['code'=>'ar_SY', 'name'=> 'Arabic (Syria)'],
 ['code'=>'ar_TN', 'name'=> 'Arabic (Tunisia)'],
 ['code'=>'ar_AE', 'name'=> 'Arabic (United Arab Emirates)'],
 ['code'=>'ar_YE', 'name'=> 'Arabic (Yemen)'],
 ['code'=>'ar', 'name'=> 'Arabic'],
 ['code'=>'hy_AM', 'name'=> 'Armenian (Armenia)'],
 ['code'=>'hy', 'name'=> 'Armenian'],
 ['code'=>'as_IN', 'name'=> 'Assamese (India)'],
 ['code'=>'as', 'name'=> 'Assamese'],
 ['code'=>'asa_TZ', 'name'=> 'Asu (Tanzania)'],
 ['code'=>'asa', 'name'=> 'Asu'],
 ['code'=>'az_Cyrl', 'name'=> 'Azerbaijani (Cyrillic)'],
 ['code'=>'az_Cyrl_AZ', 'name'=> 'Azerbaijani (Cyrillic, Azerbaijan)'],
 ['code'=>'az_Latn', 'name'=> 'Azerbaijani (Latin)'],
 ['code'=>'az_Latn_AZ', 'name'=> 'Azerbaijani (Latin, Azerbaijan)'],
 ['code'=>'az', 'name'=> 'Azerbaijani'],
 ['code'=>'bm_ML', 'name'=> 'Bambara (Mali)'],
 ['code'=>'bm', 'name'=> 'Bambara'],
 ['code'=>'eu_ES', 'name'=> 'Basque (Spain)'],
 ['code'=>'eu', 'name'=> 'Basque'],
 ['code'=>'be_BY', 'name'=> 'Belarusian (Belarus)'],
 ['code'=>'be', 'name'=> 'Belarusian'],
 ['code'=>'bem_ZM', 'name'=> 'Bemba (Zambia)'],
 ['code'=>'bem', 'name'=> 'Bemba'],
 ['code'=>'bez_TZ', 'name'=> 'Bena (Tanzania)'],
 ['code'=>'bez', 'name'=> 'Bena'],
 ['code'=>'bn_BD', 'name'=> 'Bengali (Bangladesh)'],
 ['code'=>'bn_IN', 'name'=> 'Bengali (India)'],
 ['code'=>'bn', 'name'=> 'Bengali'],
 ['code'=>'bs_BA', 'name'=> 'Bosnian (Bosnia and Herzegovina)'],
 ['code'=>'bs', 'name'=> 'Bosnian'],
 ['code'=>'bg_BG', 'name'=> 'Bulgarian (Bulgaria)'],
 ['code'=>'bg', 'name'=> 'Bulgarian'],
 ['code'=>'my_MM', 'name'=> 'Burmese (Myanmar [Burma])'],
 ['code'=>'my', 'name'=> 'Burmese'],
 ['code'=>'ca_ES', 'name'=> 'Catalan (Spain)'],
 ['code'=>'ca', 'name'=> 'Catalan'],
 ['code'=>'tzm_Latn', 'name'=> 'Central Morocco Tamazight (Latin)'],
 ['code'=>'tzm_Latn_MA', 'name'=> 'Central Morocco Tamazight (Latin, Morocco)'],
 ['code'=>'tzm', 'name'=> 'Central Morocco Tamazight'],
 ['code'=>'chr_US', 'name'=> 'Cherokee (United States)'],
 ['code'=>'chr', 'name'=> 'Cherokee'],
 ['code'=>'cgg_UG', 'name'=> 'Chiga (Uganda)'],
 ['code'=>'cgg', 'name'=> 'Chiga'],
 ['code'=>'zh_Hans', 'name'=> 'Chinese (Simplified Han)'],
 ['code'=>'zh_Hans_CN', 'name'=> 'Chinese (Simplified Han, China)'],
 ['code'=>'zh_Hans_HK', 'name'=> 'Chinese (Simplified Han, Hong Kong SAR China)'],
 ['code'=>'zh_Hans_MO', 'name'=> 'Chinese (Simplified Han, Macau SAR China)'],
 ['code'=>'zh_Hans_SG', 'name'=> 'Chinese (Simplified Han, Singapore)'],
 ['code'=>'zh_Hant', 'name'=> 'Chinese (Traditional Han)'],
 ['code'=>'zh_Hant_HK', 'name'=> 'Chinese (Traditional Han, Hong Kong SAR China)'],
 ['code'=>'zh_Hant_MO', 'name'=> 'Chinese (Traditional Han, Macau SAR China)'],
 ['code'=>'zh_Hant_TW', 'name'=> 'Chinese (Traditional Han, Taiwan)'],
 ['code'=>'zh', 'name'=> 'Chinese'],
 ['code'=>'kw_GB', 'name'=> 'Cornish (United Kingdom)'],
 ['code'=>'kw', 'name'=> 'Cornish'],
 ['code'=>'hr_HR', 'name'=> 'Croatian (Croatia)'],
 ['code'=>'hr', 'name'=> 'Croatian'],
 ['code'=>'cs_CZ', 'name'=> 'Czech (Czech Republic)'],
 ['code'=>'cs', 'name'=> 'Czech'],
 ['code'=>'da_DK', 'name'=> 'Danish (Denmark)'],
 ['code'=>'da', 'name'=> 'Danish'],
 ['code'=>'nl_BE', 'name'=> 'Dutch (Belgium)'],
 ['code'=>'nl_NL', 'name'=> 'Dutch (Netherlands)'],
 ['code'=>'nl', 'name'=> 'Dutch'],
 ['code'=>'ebu_KE', 'name'=> 'Embu (Kenya)'],
 ['code'=>'ebu', 'name'=> 'Embu'],
 ['code'=>'en_AS', 'name'=> 'English (American Samoa)'],
 ['code'=>'en_AU', 'name'=> 'English (Australia)'],
 ['code'=>'en_BE', 'name'=> 'English (Belgium)'],
 ['code'=>'en_BZ', 'name'=> 'English (Belize)'],
 ['code'=>'en_BW', 'name'=> 'English (Botswana)'],
 ['code'=>'en_CA', 'name'=> 'English (Canada)'],
 ['code'=>'en_GU', 'name'=> 'English (Guam)'],
 ['code'=>'en_HK', 'name'=> 'English (Hong Kong SAR China)'],
 ['code'=>'en_IN', 'name'=> 'English (India)'],
 ['code'=>'en_IE', 'name'=> 'English (Ireland)'],
 ['code'=>'en_JM', 'name'=> 'English (Jamaica)'],
 ['code'=>'en_MT', 'name'=> 'English (Malta)'],
 ['code'=>'en_MH', 'name'=> 'English (Marshall Islands)'],
 ['code'=>'en_MU', 'name'=> 'English (Mauritius)'],
 ['code'=>'en_NA', 'name'=> 'English (Namibia)'],
 ['code'=>'en_NZ', 'name'=> 'English (New Zealand)'],
 ['code'=>'en_MP', 'name'=> 'English (Northern Mariana Islands)'],
 ['code'=>'en_PK', 'name'=> 'English (Pakistan)'],
 ['code'=>'en_PH', 'name'=> 'English (Philippines)'],
 ['code'=>'en_SG', 'name'=> 'English (Singapore)'],
 ['code'=>'en_ZA', 'name'=> 'English (South Africa)'],
 ['code'=>'en_TT', 'name'=> 'English (Trinidad and Tobago)'],
 ['code'=>'en_UM', 'name'=> 'English (U.S. Minor Outlying Islands)'],
 ['code'=>'en_VI', 'name'=> 'English (U.S. Virgin Islands)'],
 ['code'=>'en_GB', 'name'=> 'English (United Kingdom)'],
 ['code'=>'en_US', 'name'=> 'English (United States)'],
 ['code'=>'en_ZW', 'name'=> 'English (Zimbabwe)'],
 ['code'=>'en', 'name'=> 'English'],
 ['code'=>'eo', 'name'=> 'Esperanto'],
 ['code'=>'et_EE', 'name'=> 'Estonian (Estonia)'],
 ['code'=>'et', 'name'=> 'Estonian'],
 ['code'=>'ee_GH', 'name'=> 'Ewe (Ghana)'],
 ['code'=>'ee_TG', 'name'=> 'Ewe (Togo)'],
 ['code'=>'ee', 'name'=> 'Ewe'],
 ['code'=>'fo_FO', 'name'=> 'Faroese (Faroe Islands)'],
 ['code'=>'fo', 'name'=> 'Faroese'],
 ['code'=>'fil_PH', 'name'=> 'Filipino (Philippines)'],
 ['code'=>'fil', 'name'=> 'Filipino'],
 ['code'=>'fi_FI', 'name'=> 'Finnish (Finland)'],
 ['code'=>'fi', 'name'=> 'Finnish'],
 ['code'=>'fr_BE', 'name'=> 'French (Belgium)'],
 ['code'=>'fr_BJ', 'name'=> 'French (Benin)'],
 ['code'=>'fr_BF', 'name'=> 'French (Burkina Faso)'],
 ['code'=>'fr_BI', 'name'=> 'French (Burundi)'],
 ['code'=>'fr_CM', 'name'=> 'French (Cameroon)'],
 ['code'=>'fr_CA', 'name'=> 'French (Canada)'],
 ['code'=>'fr_CF', 'name'=> 'French (Central African Republic)'],
 ['code'=>'fr_TD', 'name'=> 'French (Chad)'],
 ['code'=>'fr_KM', 'name'=> 'French (Comoros)'],
 ['code'=>'fr_CG', 'name'=> 'French (Congo - Brazzaville)'],
 ['code'=>'fr_CD', 'name'=> 'French (Congo - Kinshasa)'],
 ['code'=>'fr_CI', 'name'=> 'French (Côte d’Ivoire)'],
 ['code'=>'fr_DJ', 'name'=> 'French (Djibouti)'],
 ['code'=>'fr_GQ', 'name'=> 'French (Equatorial Guinea)'],
 ['code'=>'fr_FR', 'name'=> 'French (France)'],
 ['code'=>'fr_GA', 'name'=> 'French (Gabon)'],
 ['code'=>'fr_GP', 'name'=> 'French (Guadeloupe)'],
 ['code'=>'fr_GN', 'name'=> 'French (Guinea)'],
 ['code'=>'fr_LU', 'name'=> 'French (Luxembourg)'],
 ['code'=>'fr_MG', 'name'=> 'French (Madagascar)'],
 ['code'=>'fr_ML', 'name'=> 'French (Mali)'],
 ['code'=>'fr_MQ', 'name'=> 'French (Martinique)'],
 ['code'=>'fr_MC', 'name'=> 'French (Monaco)'],
 ['code'=>'fr_NE', 'name'=> 'French (Niger)'],
 ['code'=>'fr_RW', 'name'=> 'French (Rwanda)'],
 ['code'=>'fr_RE', 'name'=> 'French (Réunion)'],
 ['code'=>'fr_BL', 'name'=> 'French (Saint Barthélemy)'],
 ['code'=>'fr_MF', 'name'=> 'French (Saint Martin)'],
 ['code'=>'fr_SN', 'name'=> 'French (Senegal)'],
 ['code'=>'fr_CH', 'name'=> 'French (Switzerland)'],
 ['code'=>'fr_TG', 'name'=> 'French (Togo)'],
 ['code'=>'fr', 'name'=> 'French'],
 ['code'=>'ff_SN', 'name'=> 'Fulah (Senegal)'],
 ['code'=>'ff', 'name'=> 'Fulah'],
 ['code'=>'gl_ES', 'name'=> 'Galician (Spain)'],
 ['code'=>'gl', 'name'=> 'Galician'],
 ['code'=>'lg_UG', 'name'=> 'Ganda (Uganda)'],
 ['code'=>'lg', 'name'=> 'Ganda'],
 ['code'=>'ka_GE', 'name'=> 'Georgian (Georgia)'],
 ['code'=>'ka', 'name'=> 'Georgian'],
 ['code'=>'de_AT', 'name'=> 'German (Austria)'],
 ['code'=>'de_BE', 'name'=> 'German (Belgium)'],
 ['code'=>'de_DE', 'name'=> 'German (Germany)'],
 ['code'=>'de_LI', 'name'=> 'German (Liechtenstein)'],
 ['code'=>'de_LU', 'name'=> 'German (Luxembourg)'],
 ['code'=>'de_CH', 'name'=> 'German (Switzerland)'],
 ['code'=>'de', 'name'=> 'German'],
 ['code'=>'el_CY', 'name'=> 'Greek (Cyprus)'],
 ['code'=>'el_GR', 'name'=> 'Greek (Greece)'],
 ['code'=>'el', 'name'=> 'Greek'],
 ['code'=>'gu_IN', 'name'=> 'Gujarati (India)'],
 ['code'=>'gu', 'name'=> 'Gujarati'],
 ['code'=>'guz_KE', 'name'=> 'Gusii (Kenya)'],
 ['code'=>'guz', 'name'=> 'Gusii'],
 ['code'=>'ha_Latn', 'name'=> 'Hausa (Latin)'],
 ['code'=>'ha_Latn_GH', 'name'=> 'Hausa (Latin, Ghana)'],
 ['code'=>'ha_Latn_NE', 'name'=> 'Hausa (Latin, Niger)'],
 ['code'=>'ha_Latn_NG', 'name'=> 'Hausa (Latin, Nigeria)'],
 ['code'=>'ha', 'name'=> 'Hausa'],
 ['code'=>'haw_US', 'name'=> 'Hawaiian (United States)'],
 ['code'=>'haw', 'name'=> 'Hawaiian'],
 ['code'=>'he_IL', 'name'=> 'Hebrew (Israel)'],
 ['code'=>'he', 'name'=> 'Hebrew'],
 ['code'=>'hi_IN', 'name'=> 'Hindi (India)'],
 ['code'=>'hi', 'name'=> 'Hindi'],
 ['code'=>'hu_HU', 'name'=> 'Hungarian (Hungary)'],
 ['code'=>'hu', 'name'=> 'Hungarian'],
 ['code'=>'is_IS', 'name'=> 'Icelandic (Iceland)'],
 ['code'=>'is', 'name'=> 'Icelandic'],
 ['code'=>'ig_NG', 'name'=> 'Igbo (Nigeria)'],
 ['code'=>'ig', 'name'=> 'Igbo'],
 ['code'=>'id_ID', 'name'=> 'Indonesian (Indonesia)'],
 ['code'=>'id', 'name'=> 'Indonesian'],
 ['code'=>'ga_IE', 'name'=> 'Irish (Ireland)'],
 ['code'=>'ga', 'name'=> 'Irish'],
 ['code'=>'it_IT', 'name'=> 'Italian (Italy)'],
 ['code'=>'it_CH', 'name'=> 'Italian (Switzerland)'],
 ['code'=>'it', 'name'=> 'Italian'],
 ['code'=>'ja_JP', 'name'=> 'Japanese (Japan)'],
 ['code'=>'ja', 'name'=> 'Japanese'],
 ['code'=>'kea_CV', 'name'=> 'Kabuverdianu (Cape Verde)'],
 ['code'=>'kea', 'name'=> 'Kabuverdianu'],
 ['code'=>'kab_DZ', 'name'=> 'Kabyle (Algeria)'],
 ['code'=>'kab', 'name'=> 'Kabyle'],
 ['code'=>'kl_GL', 'name'=> 'Kalaallisut (Greenland)'],
 ['code'=>'kl', 'name'=> 'Kalaallisut'],
 ['code'=>'kln_KE', 'name'=> 'Kalenjin (Kenya)'],
 ['code'=>'kln', 'name'=> 'Kalenjin'],
 ['code'=>'kam_KE', 'name'=> 'Kamba (Kenya)'],
 ['code'=>'kam', 'name'=> 'Kamba'],
 ['code'=>'kn_IN', 'name'=> 'Kannada (India)'],
 ['code'=>'kn', 'name'=> 'Kannada'],
 ['code'=>'kk_Cyrl', 'name'=> 'Kazakh (Cyrillic)'],
 ['code'=>'kk_Cyrl_KZ', 'name'=> 'Kazakh (Cyrillic, Kazakhstan)'],
 ['code'=>'kk', 'name'=> 'Kazakh'],
 ['code'=>'km_KH', 'name'=> 'Khmer (Cambodia)'],
 ['code'=>'km', 'name'=> 'Khmer'],
 ['code'=>'ki_KE', 'name'=> 'Kikuyu (Kenya)'],
 ['code'=>'ki', 'name'=> 'Kikuyu'],
 ['code'=>'rw_RW', 'name'=> 'Kinyarwanda (Rwanda)'],
 ['code'=>'rw', 'name'=> 'Kinyarwanda'],
 ['code'=>'kok_IN', 'name'=> 'Konkani (India)'],
 ['code'=>'kok', 'name'=> 'Konkani'],
 ['code'=>'ko_KR', 'name'=> 'Korean (South Korea)'],
 ['code'=>'ko', 'name'=> 'Korean'],
 ['code'=>'khq_ML', 'name'=> 'Koyra Chiini (Mali)'],
 ['code'=>'khq', 'name'=> 'Koyra Chiini'],
 ['code'=>'ses_ML', 'name'=> 'Koyraboro Senni (Mali)'],
 ['code'=>'ses', 'name'=> 'Koyraboro Senni'],
 ['code'=>'lag_TZ', 'name'=> 'Langi (Tanzania)'],
 ['code'=>'lag', 'name'=> 'Langi'],
 ['code'=>'lv_LV', 'name'=> 'Latvian (Latvia)'],
 ['code'=>'lv', 'name'=> 'Latvian'],
 ['code'=>'lt_LT', 'name'=> 'Lithuanian (Lithuania)'],
 ['code'=>'lt', 'name'=> 'Lithuanian'],
 ['code'=>'luo_KE', 'name'=> 'Luo (Kenya)'],
 ['code'=>'luo', 'name'=> 'Luo'],
 ['code'=>'luy_KE', 'name'=> 'Luyia (Kenya)'],
 ['code'=>'luy', 'name'=> 'Luyia'],
 ['code'=>'mk_MK', 'name'=> 'Macedonian (Macedonia)'],
 ['code'=>'mk', 'name'=> 'Macedonian'],
 ['code'=>'jmc_TZ', 'name'=> 'Machame (Tanzania)'],
 ['code'=>'jmc', 'name'=> 'Machame'],
 ['code'=>'kde_TZ', 'name'=> 'Makonde (Tanzania)'],
 ['code'=>'kde', 'name'=> 'Makonde'],
 ['code'=>'mg_MG', 'name'=> 'Malagasy (Madagascar)'],
 ['code'=>'mg', 'name'=> 'Malagasy'],
 ['code'=>'ms_BN', 'name'=> 'Malay (Brunei)'],
 ['code'=>'ms_MY', 'name'=> 'Malay (Malaysia)'],
 ['code'=>'ms', 'name'=> 'Malay'],
 ['code'=>'ml_IN', 'name'=> 'Malayalam (India)'],
 ['code'=>'ml', 'name'=> 'Malayalam'],
 ['code'=>'mt_MT', 'name'=> 'Maltese (Malta)'],
 ['code'=>'mt', 'name'=> 'Maltese'],
 ['code'=>'gv_GB', 'name'=> 'Manx (United Kingdom)'],
 ['code'=>'gv', 'name'=> 'Manx'],
 ['code'=>'mr_IN', 'name'=> 'Marathi (India)'],
 ['code'=>'mr', 'name'=> 'Marathi'],
 ['code'=>'mas_KE', 'name'=> 'Masai (Kenya)'],
 ['code'=>'mas_TZ', 'name'=> 'Masai (Tanzania)'],
 ['code'=>'mas', 'name'=> 'Masai'],
 ['code'=>'mer_KE', 'name'=> 'Meru (Kenya)'],
 ['code'=>'mer', 'name'=> 'Meru'],
 ['code'=>'mfe_MU', 'name'=> 'Morisyen (Mauritius)'],
 ['code'=>'mfe', 'name'=> 'Morisyen'],
 ['code'=>'naq_NA', 'name'=> 'Nama (Namibia)'],
 ['code'=>'naq', 'name'=> 'Nama'],
 ['code'=>'ne_IN', 'name'=> 'Nepali (India)'],
 ['code'=>'ne_NP', 'name'=> 'Nepali (Nepal)'],
 ['code'=>'ne', 'name'=> 'Nepali'],
 ['code'=>'nd_ZW', 'name'=> 'North Ndebele (Zimbabwe)'],
 ['code'=>'nd', 'name'=> 'North Ndebele'],
 ['code'=>'nb_NO', 'name'=> 'Norwegian Bokmål (Norway)'],
 ['code'=>'nb', 'name'=> 'Norwegian Bokmål'],
 ['code'=>'nn_NO', 'name'=> 'Norwegian Nynorsk (Norway)'],
 ['code'=>'nn', 'name'=> 'Norwegian Nynorsk'],
 ['code'=>'nyn_UG', 'name'=> 'Nyankole (Uganda)'],
 ['code'=>'nyn', 'name'=> 'Nyankole'],
 ['code'=>'or_IN', 'name'=> 'Oriya (India)'],
 ['code'=>'or', 'name'=> 'Oriya'],
 ['code'=>'om_ET', 'name'=> 'Oromo (Ethiopia)'],
 ['code'=>'om_KE', 'name'=> 'Oromo (Kenya)'],
 ['code'=>'om', 'name'=> 'Oromo'],
 ['code'=>'ps_AF', 'name'=> 'Pashto (Afghanistan)'],
 ['code'=>'ps', 'name'=> 'Pashto'],
 ['code'=>'fa_AF', 'name'=> 'Persian (Afghanistan)'],
 ['code'=>'fa_IR', 'name'=> 'Persian (Iran)'],
 ['code'=>'fa', 'name'=> 'Persian'],
 ['code'=>'pl_PL', 'name'=> 'Polish (Poland)'],
 ['code'=>'pl', 'name'=> 'Polish'],
 ['code'=>'pt_BR', 'name'=> 'Portuguese (Brazil)'],
 ['code'=>'pt_GW', 'name'=> 'Portuguese (Guinea-Bissau)'],
 ['code'=>'pt_MZ', 'name'=> 'Portuguese (Mozambique)'],
 ['code'=>'pt_PT', 'name'=> 'Portuguese (Portugal)'],
 ['code'=>'pt', 'name'=> 'Portuguese'],
 ['code'=>'pa_Arab', 'name'=> 'Punjabi (Arabic)'],
 ['code'=>'pa_Arab_PK', 'name'=> 'Punjabi (Arabic, Pakistan)'],
 ['code'=>'pa_Guru', 'name'=> 'Punjabi (Gurmukhi)'],
 ['code'=>'pa_Guru_IN', 'name'=> 'Punjabi (Gurmukhi, India)'],
 ['code'=>'pa', 'name'=> 'Punjabi'],
 ['code'=>'ro_MD', 'name'=> 'Romanian (Moldova)'],
 ['code'=>'ro_RO', 'name'=> 'Romanian (Romania)'],
 ['code'=>'ro', 'name'=> 'Romanian'],
 ['code'=>'rm_CH', 'name'=> 'Romansh (Switzerland)'],
 ['code'=>'rm', 'name'=> 'Romansh'],
 ['code'=>'rof_TZ', 'name'=> 'Rombo (Tanzania)'],
 ['code'=>'rof', 'name'=> 'Rombo'],
 ['code'=>'ru_MD', 'name'=> 'Russian (Moldova)'],
 ['code'=>'ru_RU', 'name'=> 'Russian (Russia)'],
 ['code'=>'ru_UA', 'name'=> 'Russian (Ukraine)'],
 ['code'=>'ru', 'name'=> 'Russian'],
 ['code'=>'rwk_TZ', 'name'=> 'Rwa (Tanzania)'],
 ['code'=>'rwk', 'name'=> 'Rwa'],
 ['code'=>'saq_KE', 'name'=> 'Samburu (Kenya)'],
 ['code'=>'saq', 'name'=> 'Samburu'],
 ['code'=>'sg_CF', 'name'=> 'Sango (Central African Republic)'],
 ['code'=>'sg', 'name'=> 'Sango'],
 ['code'=>'seh_MZ', 'name'=> 'Sena (Mozambique)'],
 ['code'=>'seh', 'name'=> 'Sena'],
 ['code'=>'sr_Cyrl', 'name'=> 'Serbian (Cyrillic)'],
 ['code'=>'sr_Cyrl_BA', 'name'=> 'Serbian (Cyrillic, Bosnia and Herzegovina)'],
 ['code'=>'sr_Cyrl_ME', 'name'=> 'Serbian (Cyrillic, Montenegro)'],
 ['code'=>'sr_Cyrl_RS', 'name'=> 'Serbian (Cyrillic, Serbia)'],
 ['code'=>'sr_Latn', 'name'=> 'Serbian (Latin)'],
 ['code'=>'sr_Latn_BA', 'name'=> 'Serbian (Latin, Bosnia and Herzegovina)'],
 ['code'=>'sr_Latn_ME', 'name'=> 'Serbian (Latin, Montenegro)'],
 ['code'=>'sr_Latn_RS', 'name'=> 'Serbian (Latin, Serbia)'],
 ['code'=>'sr', 'name'=> 'Serbian'],
 ['code'=>'sn_ZW', 'name'=> 'Shona (Zimbabwe)'],
 ['code'=>'sn', 'name'=> 'Shona'],
 ['code'=>'ii_CN', 'name'=> 'Sichuan Yi (China)'],
 ['code'=>'ii', 'name'=> 'Sichuan Yi'],
 ['code'=>'si_LK', 'name'=> 'Sinhala (Sri Lanka)'],
 ['code'=>'si', 'name'=> 'Sinhala'],
 ['code'=>'sk_SK', 'name'=> 'Slovak (Slovakia)'],
 ['code'=>'sk', 'name'=> 'Slovak'],
 ['code'=>'sl_SI', 'name'=> 'Slovenian (Slovenia)'],
 ['code'=>'sl', 'name'=> 'Slovenian'],
 ['code'=>'xog_UG', 'name'=> 'Soga (Uganda)'],
 ['code'=>'xog', 'name'=> 'Soga'],
 ['code'=>'so_DJ', 'name'=> 'Somali (Djibouti)'],
 ['code'=>'so_ET', 'name'=> 'Somali (Ethiopia)'],
 ['code'=>'so_KE', 'name'=> 'Somali (Kenya)'],
 ['code'=>'so_SO', 'name'=> 'Somali (Somalia)'],
 ['code'=>'so', 'name'=> 'Somali'],
 ['code'=>'es_AR', 'name'=> 'Spanish (Argentina)'],
 ['code'=>'es_BO', 'name'=> 'Spanish (Bolivia)'],
 ['code'=>'es_CL', 'name'=> 'Spanish (Chile)'],
 ['code'=>'es_CO', 'name'=> 'Spanish (Colombia)'],
 ['code'=>'es_CR', 'name'=> 'Spanish (Costa Rica)'],
 ['code'=>'es_DO', 'name'=> 'Spanish (Dominican Republic)'],
 ['code'=>'es_EC', 'name'=> 'Spanish (Ecuador)'],
 ['code'=>'es_SV', 'name'=> 'Spanish (El Salvador)'],
 ['code'=>'es_GQ', 'name'=> 'Spanish (Equatorial Guinea)'],
 ['code'=>'es_GT', 'name'=> 'Spanish (Guatemala)'],
 ['code'=>'es_HN', 'name'=> 'Spanish (Honduras)'],
 ['code'=>'es_419', 'name'=> 'Spanish (Latin America)'],
 ['code'=>'es_MX', 'name'=> 'Spanish (Mexico)'],
 ['code'=>'es_NI', 'name'=> 'Spanish (Nicaragua)'],
 ['code'=>'es_PA', 'name'=> 'Spanish (Panama)'],
 ['code'=>'es_PY', 'name'=> 'Spanish (Paraguay)'],
 ['code'=>'es_PE', 'name'=> 'Spanish (Peru)'],
 ['code'=>'es_PR', 'name'=> 'Spanish (Puerto Rico)'],
 ['code'=>'es_ES', 'name'=> 'Spanish (Spain)'],
 ['code'=>'es_US', 'name'=> 'Spanish (United States)'],
 ['code'=>'es_UY', 'name'=> 'Spanish (Uruguay)'],
 ['code'=>'es_VE', 'name'=> 'Spanish (Venezuela)'],
 ['code'=>'es', 'name'=> 'Spanish'],
 ['code'=>'sw_KE', 'name'=> 'Swahili (Kenya)'],
 ['code'=>'sw_TZ', 'name'=> 'Swahili (Tanzania)'],
 ['code'=>'sw', 'name'=> 'Swahili'],
 ['code'=>'sv_FI', 'name'=> 'Swedish (Finland)'],
 ['code'=>'sv_SE', 'name'=> 'Swedish (Sweden)'],
 ['code'=>'sv', 'name'=> 'Swedish'],
 ['code'=>'gsw_CH', 'name'=> 'Swiss German (Switzerland)'],
 ['code'=>'gsw', 'name'=> 'Swiss German'],
 ['code'=>'shi_Latn', 'name'=> 'Tachelhit (Latin)'],
 ['code'=>'shi_Latn_MA', 'name'=> 'Tachelhit (Latin, Morocco)'],
 ['code'=>'shi_Tfng', 'name'=> 'Tachelhit (Tifinagh)'],
 ['code'=>'shi_Tfng_MA', 'name'=> 'Tachelhit (Tifinagh, Morocco)'],
 ['code'=>'shi', 'name'=> 'Tachelhit'],
 ['code'=>'dav_KE', 'name'=> 'Taita (Kenya)'],
 ['code'=>'dav', 'name'=> 'Taita'],
 ['code'=>'ta_IN', 'name'=> 'Tamil (India)'],
 ['code'=>'ta_LK', 'name'=> 'Tamil (Sri Lanka)'],
 ['code'=>'ta', 'name'=> 'Tamil'],
 ['code'=>'te_IN', 'name'=> 'Telugu (India)'],
 ['code'=>'te', 'name'=> 'Telugu'],
 ['code'=>'teo_KE', 'name'=> 'Teso (Kenya)'],
 ['code'=>'teo_UG', 'name'=> 'Teso (Uganda)'],
 ['code'=>'teo', 'name'=> 'Teso'],
 ['code'=>'th_TH', 'name'=> 'Thai (Thailand)'],
 ['code'=>'th', 'name'=> 'Thai'],
 ['code'=>'bo_CN', 'name'=> 'Tibetan (China)'],
 ['code'=>'bo_IN', 'name'=> 'Tibetan (India)'],
 ['code'=>'bo', 'name'=> 'Tibetan'],
 ['code'=>'ti_ER', 'name'=> 'Tigrinya (Eritrea)'],
 ['code'=>'ti_ET', 'name'=> 'Tigrinya (Ethiopia)'],
 ['code'=>'ti', 'name'=> 'Tigrinya'],
 ['code'=>'to_TO', 'name'=> 'Tonga (Tonga)'],
 ['code'=>'to', 'name'=> 'Tonga'],
 ['code'=>'tr_TR', 'name'=> 'Turkish (Turkey)'],
 ['code'=>'tr', 'name'=> 'Turkish'],
 ['code'=>'uk_UA', 'name'=> 'Ukrainian (Ukraine)'],
 ['code'=>'uk', 'name'=> 'Ukrainian'],
 ['code'=>'ur_IN', 'name'=> 'Urdu (India)'],
 ['code'=>'ur_PK', 'name'=> 'Urdu (Pakistan)'],
 ['code'=>'ur', 'name'=> 'Urdu'],
 ['code'=>'uz_Arab', 'name'=> 'Uzbek (Arabic)'],
 ['code'=>'uz_Arab_AF', 'name'=> 'Uzbek (Arabic, Afghanistan)'],
 ['code'=>'uz_Cyrl', 'name'=> 'Uzbek (Cyrillic)'],
 ['code'=>'uz_Cyrl_UZ', 'name'=> 'Uzbek (Cyrillic, Uzbekistan)'],
 ['code'=>'uz_Latn', 'name'=> 'Uzbek (Latin)'],
 ['code'=>'uz_Latn_UZ', 'name'=> 'Uzbek (Latin, Uzbekistan)'],
 ['code'=>'uz', 'name'=> 'Uzbek'],
 ['code'=>'vi_VN', 'name'=> 'Vietnamese (Vietnam)'],
 ['code'=>'vi', 'name'=> 'Vietnamese'],
 ['code'=>'vun_TZ', 'name'=> 'Vunjo (Tanzania)'],
 ['code'=>'vun', 'name'=> 'Vunjo'],
 ['code'=>'cy_GB', 'name'=> 'Welsh (United Kingdom)'],
 ['code'=>'cy', 'name'=> 'Welsh'],
 ['code'=>'yo_NG', 'name'=> 'Yoruba (Nigeria)'],
 ['code'=>'yo', 'name'=> 'Yoruba'],
 ['code'=>'zu_ZA', 'name'=> 'Zulu (South Africa)'],
 ['code'=>'zu', 'name'=> 'Zulu'],
];

?>

Сокращения локалей в виде массива PHP

<?php
$locales = ['af_NA','af_ZA','af','ak_GH','ak','sq_AL','sq','am_ET','am','ar_DZ','ar_BH','ar_EG','ar_IQ','ar_JO','ar_KW','ar_LB','ar_LY','ar_MA','ar_OM','ar_QA','ar_SA','ar_SD','ar_SY','ar_TN','ar_AE','ar_YE','ar','hy_AM','hy','as_IN','as','asa_TZ','asa','az_Cyrl','az_Cyrl_AZ','az_Latn','az_Latn_AZ','az','bm_ML','bm','eu_ES','eu','be_BY','be','bem_ZM','bem','bez_TZ','bez','bn_BD','bn_IN','bn','bs_BA','bs','bg_BG','bg','my_MM','my','ca_ES','ca','tzm_Latn','tzm_Latn_MA','tzm','chr_US','chr','cgg_UG','cgg','zh_Hans','zh_Hans_CN','zh_Hans_HK','zh_Hans_MO','zh_Hans_SG','zh_Hant','zh_Hant_HK','zh_Hant_MO','zh_Hant_TW','zh','kw_GB','kw','hr_HR','hr','cs_CZ','cs','da_DK','da','nl_BE','nl_NL','nl','ebu_KE','ebu','en_AS','en_AU','en_BE','en_BZ','en_BW','en_CA','en_GU','en_HK','en_IN','en_IE','en_JM','en_MT','en_MH','en_MU','en_NA','en_NZ','en_MP','en_PK','en_PH','en_SG','en_ZA','en_TT','en_UM','en_VI','en_GB','en_US','en_ZW','en','eo','et_EE','et','ee_GH','ee_TG','ee','fo_FO','fo','fil_PH','fil','fi_FI','fi','fr_BE','fr_BJ','fr_BF','fr_BI','fr_CM','fr_CA','fr_CF','fr_TD','fr_KM','fr_CG','fr_CD','fr_CI','fr_DJ','fr_GQ','fr_FR','fr_GA','fr_GP','fr_GN','fr_LU','fr_MG','fr_ML','fr_MQ','fr_MC','fr_NE','fr_RW','fr_RE','fr_BL','fr_MF','fr_SN','fr_CH','fr_TG','fr','ff_SN','ff','gl_ES','gl','lg_UG','lg','ka_GE','ka','de_AT','de_BE','de_DE','de_LI','de_LU','de_CH','de','el_CY','el_GR','el','gu_IN','gu','guz_KE','guz','ha_Latn','ha_Latn_GH','ha_Latn_NE','ha_Latn_NG','ha','haw_US','haw','he_IL','he','hi_IN','hi','hu_HU','hu','is_IS','is','ig_NG','ig','id_ID','id','ga_IE','ga','it_IT','it_CH','it','ja_JP','ja','kea_CV','kea','kab_DZ','kab','kl_GL','kl','kln_KE','kln','kam_KE','kam','kn_IN','kn','kk_Cyrl','kk_Cyrl_KZ','kk','km_KH','km','ki_KE','ki','rw_RW','rw','kok_IN','kok','ko_KR','ko','khq_ML','khq','ses_ML','ses','lag_TZ','lag','lv_LV','lv','lt_LT','lt','luo_KE','luo','luy_KE','luy','mk_MK','mk','jmc','kde_TZ','kde','mg_MG','mg','ms_BN','ms_MY','ms','ml_IN','ml','mt_MT','mt','gv_GB','gv','mr_IN','mr','mas_KE','mas_TZ','mas','mer_KE','mer','mfe_MU','mfe','naq_NA','naq','ne_IN','ne_NP','ne','nd_ZW','nd','nb_NO','nb','nn_NO','nn','nyn_UG','nyn','or_IN','or','om_ET','om_KE','om','ps_AF','ps','fa_AF','fa_IR','fa','pl_PL','pl','pt_BR','pt_GW','pt_MZ','pt_PT','pt','pa_Arab','pa_Arab_PK','pa_Guru','pa_Guru_IN','pa','ro_MD','ro_RO','ro','rm_CH','rm','rof_TZ','rof','ru_MD','ru_RU','ru_UA','ru','rwk_TZ','rwk','saq_KE','saq','sg_CF','sg','seh_MZ','seh','sr_Cyrl','sr_Cyrl_BA','sr_Cyrl_ME','sr_Cyrl_RS','sr_Latn','sr_Latn_BA','sr_Latn_ME','sr_Latn_RS','sr','sn_ZW','sn','ii_CN','ii','si_LK','si','sk_SK','sk','sl_SI','sl','xog_UG','xog','so_DJ','so_ET','so_KE','so_SO','so','es_AR','es_BO','es_CL','es_CO','es_CR','es_DO','es_EC','es_SV','es_GQ','es_GT','es_HN','es_419','es_MX','es_NI','es_PA','es_PY','es_PE','es_PR','es_ES','es_US','es_UY','es_VE','es','sw_KE','sw_TZ','sw','sv_FI','sv_SE','sv','gsw_CH','gsw','shi_Latn','shi_Latn_MA','shi_Tfng','shi_Tfng_MA','shi','dav_KE','dav','ta_IN','ta_LK','ta','te_IN','te','teo_KE','teo_UG','teo','th_TH','th','bo_CN','bo_IN','bo','ti_ER','ti_ET','ti','to_TO','to','tr_TR','tr','uk_UA','uk','ur_IN','ur_PK','ur','uz_Arab','uz_Arab_AF','uz_Cyrl','uz_Cyrl_UZ','uz_Latn','uz_Latn_UZ','uz','vi_VN','vi','vun_TZ','vun','cy_GB','cy','yo_NG','yo','zu_ZA','zu'];

?>
Полезные массивы ТаблицыPHP 40
Поделитесь с другими:

Если материал понравился Вам и оказался для Вас полезным, поделитесь им со своими друзьями!