PHP/Development/I18N Locale — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Версия 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>