mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330990 c90b9560-bf6c-de11-be94-00142212c4b1
138 lines
3.9 KiB
XML
138 lines
3.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
|
|
<book xml:id="book.intl" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
<?phpdoc extension-membership="bundled" ?>
|
|
<title>Internationalization Functions</title>
|
|
<titleabbrev>intl</titleabbrev>
|
|
|
|
<!-- {{{ Preface -->
|
|
<preface xml:id="intro.intl">
|
|
&reftitle.intro;
|
|
<para>
|
|
Internationalization extension (further is referred as Intl) is a wrapper
|
|
for <link xlink:href="&url.icu.home;">ICU</link>
|
|
library, enabling PHP programmers to perform
|
|
<link xlink:href="&url.icu.uca;">UCA</link>-conformant collation and
|
|
date/time/number/currency formatting in their scripts.
|
|
</para>
|
|
|
|
<para>
|
|
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.
|
|
</para>
|
|
|
|
<para>
|
|
Intl consists of several modules, each of them exposes the corresponding
|
|
ICU API:
|
|
</para>
|
|
|
|
<itemizedlist>
|
|
<listitem>
|
|
<simpara>
|
|
Collator: provides string comparison capability with support for
|
|
appropriate locale-sensitive sort orderings.
|
|
</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>
|
|
Number Formatter: allows to display number according to the localized
|
|
format or given pattern or set of rules, and to parse strings into
|
|
numbers.
|
|
</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>
|
|
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.
|
|
</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>
|
|
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.
|
|
</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>
|
|
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.
|
|
</simpara>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<!-- {{{ Links -->
|
|
<section xml:id="intl.links">
|
|
<title>Links</title>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<para><link xlink:href="&url.icu.docs;">Miscellaneous ICU docs</link></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para><link xlink:href="&url.icu.userguide;">ICU User Guide</link></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para><link xlink:href="&url.icu.uca;">Unicode Collation Algorithm</link></para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
</section>
|
|
<!-- }}} -->
|
|
|
|
</preface>
|
|
<!-- }}} -->
|
|
|
|
&reference.intl.setup;
|
|
&reference.intl.constants;
|
|
&reference.intl.examples;
|
|
|
|
&reference.intl.collator;
|
|
&reference.intl.numberformatter;
|
|
&reference.intl.locale;
|
|
&reference.intl.normalizer;
|
|
&reference.intl.messageformatter;
|
|
&reference.intl.intlcalendar;
|
|
&reference.intl.intltimezone;
|
|
&reference.intl.dateformatter;
|
|
&reference.intl.resourcebundle;
|
|
&reference.intl.spoofchecker;
|
|
&reference.intl.transliterator;
|
|
&reference.intl.intlbreakiterator;
|
|
&reference.intl.intlrulebasedbreakiterator;
|
|
&reference.intl.intlcodepointbreakiterator;
|
|
&reference.intl.intlpartsiterator;
|
|
&reference.intl.uconverter;
|
|
|
|
&reference.intl.grapheme;
|
|
&reference.intl.idn;
|
|
|
|
&reference.intl.intlexception;
|
|
&reference.intl.intliterator;
|
|
|
|
&reference.intl.reference;
|
|
</book>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|