If you are interested in aspects of “Internationalization” regarding your PHP web applications you will probably be interested in the PHP command setlocale …
setlocale
(PHP 4, PHP 5, PHP 7)
setlocale — Set locale information
Description
setlocale ( int $category , string $locale [, string $… ] ) : string
setlocale ( int $category , array $locale ) : string
Sets locale information.
In the making of set_locale.php‘s live run proof of concept we’d like to thank https://msdn.microsoft.com/en-us//goglobal/bb895996 for the table of locale possibilities.
If this was interesting you may be interested in this too.