PHP/Development/I18N Locale — различия между версиями

Материал из Web эксперт
Перейти к: навигация, поиск
м (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>