Aquesta pàgina forma part de la documentació de Moodle en català, tot i que no ha estat traduïda encara. Podeu contribuir obertament a les tasques de traducció. Podeu consultar la Guia d'edició de la documentació i també participar ens els debats del fòrum de traductors de la documentació a moodle.org

admin/environment/php extension/intl: diferència entre les revisions

De MoodleDocs
Salta a:navegació, cerca
 
Línia 3: Línia 3:
To enable this extension add the following line to your php.ini file:
To enable this extension add the following line to your php.ini file:


<code>
extension=php_intl.dll
extension=php_intl.dll
</code>


And then set the ''intl.default_locale'' and ''intl.error_level'' directives in your php.ini file.


And then set the ''intl.default_locale'' and ''intl.error_level'' directives in your php.ini file.
The ''intl.error_level'' directive is optional.
''intl.error_level'' is optional.





Revisió del 14:03, 14 set 2010

The Internationalization extension (Intl) is a wrapper for the ICU library, a set of C/C++ and Java libraries that provide Unicode and Globalization support for software applications. It enables PHP programmers to perform UCA-conformant collation and date/time/number/currency formatting in their scripts.

To enable this extension add the following line to your php.ini file:

extension=php_intl.dll

And then set the intl.default_locale and intl.error_level directives in your php.ini file.

The intl.error_level directive is optional.


[intl]

intl.default_locale = en_utf8

intl.error_level = E_WARNING

See also

INTL Introduction

PHP Internationalization Functions

Table of locales lists the locales that you can use.