Re: intl docs
| From: | Mazzu | Date: | Thu, 06 Dec 2007 02:17:01 +0000 |
| Subject: | Re: intl docs | ||
| References: | 1 | Groups: | php.i18n |
| Request: | Send a blank email to php-i18n+get-1132@lists.php.net to get a copy of this message | ||
Here are errors that I've seen.
In http://docs.php.net/manual/en/intl.testing.php
"The Collator exetnsion" should be "The Collator extension"
In http://docs.php.net/manual/en/intl.testing.php
> LD_LIBRARY_PATH is used to load ICU libraries and value of the
> 'variables_order' setting in php.ini doesn't contain letter 'E'
> (missing 'E' means "do not register Environment variables");
Does this means that in order to use LD_LIBRARY_PATH to load ICU
libraries, it's recommended to set variables_order = "GPCSE" (and not
variables_order = "EGPCS" for example) or does it make no difference ?
In http://docs.php.net/manual/en/intl.examples.php
> Note: Note: All input strings must be in UTF-8 encoding. All output
> strings are also in UTF-8.
There is two "Note".
In
http://docs.php.net/manual/en/class.collator.php#intl.collator-constants
> Example #1 FRENCH_COLLATION rules
> * F=OFF cote < coté < côte < côté
> * F=ON cote < côte < coté < côté
Shouldn't it be : "F=OFF cote = coté = côte = côté" ?
In the left bar :
# The Collator class
# Collator::asort
# Collator::compare
# Collator::__construct
# Collator::create
# Collator::getAttribute
# Collator::getErrorCode
# Collator::getErrorMessage
# collator_get_locale
# Collator::getStrength
# Collator::setAttribute
# Collator::setStrength
# Collator::sortWithSortKeys
# Collator::sort
Instead of "collator_get_locale", it should be "Collator::getLocale"
In http://docs.php.net/manual/en/class.collator.php
> For more detailed information, see collator-setStrength() chapter.
Should be replace by "see collator::setStrength() chapter" (double
semi-colon instead of dash)
In the method list of NumberFormatter, NumberFormatter::create appears 2
times while NumberFormatter::getErrorMessage doesn't appear (In left bar
and in "Table of Contents" of
http://docs.php.net/manual/en/class.numberformatter.php)
And most important, thanks for that work! This extension will be very
usefull :)
-Mazzu
Stanislav Malyshev <stas@zend.com> wrote:
> Hi!
>
> Documentation for intl PECL extension is published here:
> http://docs.php.net/manual/en/book.intl.php
> All are welcome to review and comment.