PHP/Development/I18N Locale
Версия от 13:37, 26 мая 2010; (обсуждение)
Display the current locale information and change the locale
<source lang="html4strict">
<? print setlocale (LC_ALL, "0"); setlocale (LC_ALL, "fr"); ?>
</source>
Locale get and set
<source lang="html4strict">
<? setlocale (LC_ALL, "fr"); print_r (localeconv ()); ?>
</source>