Search code examples
zend-frameworklocale

How to use custom locale files in ZF1?


Is it possible to use custom locales (or modify existing ones) in a ZF1 application? (That is, my own versions of the files in Zend/Locale/Data.)

e.g. something like:

$locale = new Zend_Locale("/path/to/mylocale.xml");

(This looks to be impossible, because Zend_Locale_Data::_findRoute() is hard-coded to look in a specific directory for locale files.)


Solution

  • It is impossible, but you can file a bug into their bug system http://framework.zend.com/issues/browse/ZF#selectedTab=com.atlassian.jira.plugin.system.project%3Aissues-panel

    Registration is required.