Add php-intl package, using PECL version 1.1.1, modified to compile with
both PHP 5.3.2 and PHP 5.3.12
compile tested on Mac OS X 10.6.2 and NetBSD 5.0.1
This module is an internationalization extension, enabling PHP programmers
to perform UCA-conformant collation and date/time/number/currency formatting
in their scripts.
It tends to closely follow ICU APIs, so that people having experience
working with ICU in either C/C++ or Java could easily use the PHP
API. Also, this way ICU documentation would be useful to understand
various ICU functions.
Intl consists of several modules, each of them exposes the corresponding ICU
API:
* Collator: provides string comparison capability with support
for appropriate locale-sensitive sort orderings.
* Number Formatter: allows to display number according to the
localized format or given pattern or set of rules, and to parse
strings into numbers.
* Message Formatter: allows to create messages incorporating
data (such as numbers or dates) formatted according to given
pattern and locale rules, and parse messages extracting data
from them.
* Normalizer: provides a function to transform text into one
of the Unicode normalization forms, and provides a routine to
test if a given string is already normalized.
* Locale: provides interaction with locale identifiers in the
form of functions to get subtags from locale identifier; parse,
compose, match(lookup and filter) locale identifiers.
2010-03-21 17:57:13 +01:00
|
|
|
PHP is a programming language designed to be embedded into web pages.
|
|
|
|
This module is an internationalization extension, enabling PHP programmers
|
|
|
|
to perform UCA-conformant collation and date/time/number/currency formatting
|
2012-04-25 20:55:39 +02:00
|
|
|
in their scripts. It tends to closely follow ICU APIs, so that people having
|
|
|
|
experience working with ICU in either C/C++ or Java could easily use the PHP
|
|
|
|
API. Also, this way ICU documentation would be useful to understand various
|
|
|
|
ICU functions.
|
Add php-intl package, using PECL version 1.1.1, modified to compile with
both PHP 5.3.2 and PHP 5.3.12
compile tested on Mac OS X 10.6.2 and NetBSD 5.0.1
This module is an internationalization extension, enabling PHP programmers
to perform UCA-conformant collation and date/time/number/currency formatting
in their scripts.
It tends to closely follow ICU APIs, so that people having experience
working with ICU in either C/C++ or Java could easily use the PHP
API. Also, this way ICU documentation would be useful to understand
various ICU functions.
Intl consists of several modules, each of them exposes the corresponding ICU
API:
* Collator: provides string comparison capability with support
for appropriate locale-sensitive sort orderings.
* Number Formatter: allows to display number according to the
localized format or given pattern or set of rules, and to parse
strings into numbers.
* Message Formatter: allows to create messages incorporating
data (such as numbers or dates) formatted according to given
pattern and locale rules, and parse messages extracting data
from them.
* Normalizer: provides a function to transform text into one
of the Unicode normalization forms, and provides a routine to
test if a given string is already normalized.
* Locale: provides interaction with locale identifiers in the
form of functions to get subtags from locale identifier; parse,
compose, match(lookup and filter) locale identifiers.
2010-03-21 17:57:13 +01:00
|
|
|
Intl consists of several modules, each of them exposes the corresponding ICU
|
|
|
|
API:
|
|
|
|
* Collator: provides string comparison capability with support
|
|
|
|
for appropriate locale-sensitive sort orderings.
|
|
|
|
* Number Formatter: allows to display number according to the
|
|
|
|
localized format or given pattern or set of rules, and to parse
|
|
|
|
strings into numbers.
|
|
|
|
* Message Formatter: allows to create messages incorporating
|
|
|
|
data (such as numbers or dates) formatted according to given
|
|
|
|
pattern and locale rules, and parse messages extracting data
|
|
|
|
from them.
|
|
|
|
* Normalizer: provides a function to transform text into one
|
|
|
|
of the Unicode normalization forms, and provides a routine to
|
|
|
|
test if a given string is already normalized.
|
|
|
|
* Locale: provides interaction with locale identifiers in the
|
|
|
|
form of functions to get subtags from locale identifier; parse,
|
|
|
|
compose, match(lookup and filter) locale identifiers.
|