PHP/Development/I18N Locale
Display the current locale information and change the locale
<?
print setlocale (LC_ALL, "0");
setlocale (LC_ALL, "fr");
?>
Locale get and set
<?
setlocale (LC_ALL, "fr");
print_r (localeconv ());
?>
<?
print setlocale (LC_ALL, "0");
setlocale (LC_ALL, "fr");
?>
<?
setlocale (LC_ALL, "fr");
print_r (localeconv ());
?>