DESCR-intl 1.3 KB

12345678910111213141516171819202122232425262728
  1. Internationalization extension (further is referred as Intl) is a
  2. wrapper for ICU library, enabling PHP programmers to perform
  3. UCA-conformant collation and date/time/number/currency formatting in
  4. their scripts.
  5. It tends to closely follow ICU APIs, so that people having experience
  6. working with ICU in either C/C++ or Java could easily use the PHP API.
  7. Also, this way ICU documentation would be useful to understand various
  8. ICU functions.
  9. Intl consists of several modules, each of them exposes the corresponding
  10. ICU API:
  11. * Collator: provides string comparison capability with support for
  12. appropriate locale-sensitive sort orderings.
  13. * Number Formatter: allows to display number according to the localized
  14. format or given pattern or set of rules, and to parse strings into
  15. numbers.
  16. * Message Formatter: allows to create messages incorporating data (such
  17. as numbers or dates) formatted according to given pattern and locale
  18. rules, and parse messages extracting data from them.
  19. * Normalizer: provides a function to transform text into one of the
  20. Unicode normalization forms, and provides a routine to test if a given
  21. string is already normalized.
  22. * Locale: provides interaction with locale identifiers in the form of
  23. functions to get subtags from locale identifier; parse, compose,
  24. match(lookup and filter) locale identifiers.