Re: intl 1.0.0RC1
Stanislav Malyshev <[email protected]> Wed, 04 Jun 2008 15:19:00 +0300
| Newsgroups | gmane.comp.php.internationalization |
|---|---|
| Organization | Zend Technologies |
| Message-ID | <[email protected]> |
Hi! > How about > > $arr = array( > 'language' => 'en', > 'script' => 'Hans', > 'region' => 'CN', > 'variants' => array( > 'rozaj', > 'nedis', > ), > 'privates' => array( > 'prv1', > 'prv2', > ), > ); > echo Locale::composeLocale($arr); Nice idea, please add a feature request. Maybe even better would be to allow "private"/"variant" to be both string and array (now it can be only string). -- Stanislav Malyshev, Zend Software Architect [email protected] http://www.zend.com/ (408)253-8829 MSN: [email protected] -- PHP Unicode & I18N Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php