Re: Intl String Resource Formats
| From: | Stanislav Malyshev | Date: | Thu, 12 Mar 2009 19:24:46 +0000 |
| Subject: | Re: Intl String Resource Formats | ||
| References: | 1 | Groups: | php.i18n |
| Request: | Send a blank email to php-i18n+get-1311@lists.php.net to get a copy of this message | ||
Hi!
Since the intl implementation is still some way off, what would you recommend to use as a string resource format? Right now we are planning on just having files with large php arrays in them (one file per locale) and then including the appropriate file at system startup. Is there a better way? We can't use the php gettext extension, since it doesn't support the Linux gettext's context sensitivity.You may want to look at Zend Framework implementation of locale data and translations here: http://framework.zend.com/manual/en/zend.locale.html http://framework.zend.com/manual/en/zend.translate.html Maybe it will fit your purposes. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com