Hi Joe,

Typical ZF applications probably will only load a few of the locale data files in Zend/Locale/Data. The i18n components in the ZF support serialization, which could be combined with Zend_Cache.

Also see the section "Performance optimization when using a default locale":
http://framework.zend.com/wiki/x/S1c

For an example of creating a locale object in the "bootstrap" Thomas mentioned, see:
http://framework.zend.com/fisheye/browse/Zend_Framework_Laboratory/zfdemo/section11_l10n/bootstrap.php?r=#l119

For an introduction to a "bootstrap" for the Zend Framework, see:
http://framework.zend.com/wiki/x/2E8

Cheers,
Gavin

Joe Kramer wrote:
> Hello,
>
> Zend_Locale loads locale xml file on every initialisation.
> I want to optimise the performance as much as possible.
>
> Is it possible to make my own locale data provider, to supply locale
> data from array or cache xml in memcache or database ?
>
> Thanks.

Reply via email to