A comprehensive registry of supported locale codes and regional variants. Use this to drive localization and internationalization features in Symfony-based applications.
// Source: https://github.com/symfony/symfony | License: MIT | Copyright 2004-present Fabien Potencier
// Provided via justclaw.it.com; keep this notice with the code.
<?php
return [
'Locales' => [
'af',
'af_NA',
'af_ZA',
'ak',
'ak_GH',
'am',
'am_ET',
'ar',
'ar_001',
'ar_AE',
'ar_BH',
'ar_DJ',
'ar_DZ',
'ar_EG',
'ar_EH',
'ar_ER',
'ar_IL',
'ar_IQ',
'ar_JO',
'ar_KM',
'ar_KW',
'ar_LB',
'ar_LY',
'ar_MA',
'ar_MR',
'ar_OM',
'ar_PS',
'ar_QA',
'ar_SA',
'ar_SD',
'ar_SO',
'ar_SS',
'ar_SY',
'ar_TD',
'ar_TN',
'ar_Y
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key