re,

On Tue, Apr 8, 2008 at 9:35 PM, Stanislav Malyshev <[EMAIL PROTECTED]> wrote:
> > It is amazingly handy to know that a locale given by the user (UI or a
> > developer using your library) is valid. What I like to have are
> >
>
>  What is "valid"? Database can have no exact match for locale string, but
> still have some data from fallbacks, etc.
>
> > getCountry, getISO3* etc. I can provide a list and then a patch.
> >
>
>  You have getRegion, but it looks like no ISO ones now.

The current one is somehow limited given what ICU provides. I know
that locale string are evil but it is the exact reason why we should
help our developers to use some more standard one, whenever it is
possible. Having the previously cited functions as well as getISO*,
getAvailableLocale, etc. will help.

Will you agree to extend the Locale API to provide more informations?

--
Pierre
http://blog.thepimp.net | http://www.libgd.org

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to