On Wed, Apr 9, 2008 at 12:07 AM, David Zülke <[EMAIL PROTECTED]> wrote:
> Am 08.04.2008 um 21:09 schrieb Pierre Joye:

> > 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
> > getCountry, getISO3* etc. I can provide a list and then a patch.
> >
>
>  Note that most of this info is already in the CLDR info. And I am with Stas
> here, not sure if it's really necessary. You can do this mapping by hand, if
> necessary, but trust me, it isn't in most cases; you know the locale IDs
> beforehand.

I'm willing to trust you but my experiences tell me that it is not
always available before hand and that every 2nd lib duplicate this
information (partially or completely. It has no bad side effect to
introduce some new methods for this purpose :)

Cheers,
-- 
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