Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36883 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4457 invoked from network); 8 Apr 2008 19:35:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Apr 2008 19:35:25 -0000 Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.162] ([212.25.124.162:29371] helo=mx1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9A/A5-09615-CF8CBF74 for ; Tue, 08 Apr 2008 15:35:25 -0400 Received: from us-ex1.zend.com ([192.168.16.5]) by mx1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 8 Apr 2008 22:36:00 +0300 Received: from [192.168.16.94] ([192.168.16.94]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 8 Apr 2008 12:35:56 -0700 Message-ID: <47FBC8F5.6030709@zend.com> Date: Tue, 08 Apr 2008 12:35:17 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Pierre Joye CC: Andi Gutmans , Lester Caine , PHP internals References: <47F463F0.4030407@zend.com> <47F677D9.4070804@zend.com> <47F68136.8040908@zend.com> <698DE66518E7CA45812BD18E807866CE0175729A@us-ex1.zend.net> <47FBA5A7.1070600@zend.com> <47FBBF0F.4080505@zend.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 08 Apr 2008 19:35:56.0992 (UTC) FILETIME=[C430D400:01C899AF] Subject: Re: [PHP-DEV] intl naming From: stas@zend.com (Stanislav Malyshev) Hi! > 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. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com