Re: [PHP-I18N] intl 1.0.0RC1
[email protected] (Stanislav Malyshev) Wed, 04 Jun 2008 15:19:00 +0300
| Newsgroups | php.i18n |
|---|---|
| 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]