PHP code example of mvccore / ext-tool-locale
1. Go to this page and download the library: Download mvccore/ext-tool-locale library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
mvccore / ext-tool-locale example snippets
// Windows or Unix - syntax is the same:
$configuredLocale = \MvcCore\Ext\Tools\Locale::SetLocale(LC_ALL, 'nl_NL@euro');
var_dump($configuredLocale);
// Windows: Dutch_Netherlands.1252
// Unix: nl_NL@euro