ZF-3675: Add default locale to Zend_Translate
Description
Add a default locale to Zend_Translate to allow setting one locale for all instances which is used when no locale is set. Something like static setLocale.
Add a default locale to Zend_Translate to allow setting one locale for all instances which is used when no locale is set. Something like static setLocale.
Comments
Posted by Thomas Weidner (thomas) on 2008-08-27T04:50:59.000+0000
A default locale has been added within trunk. Use setDefault() / getDefault() and 'default' as autosetting.
Beware: As mentioned this is a BC break. Be aware of possible merging problems when using the old auto behaviour.
Posted by Wil Sinclair (wil) on 2008-09-02T10:39:31.000+0000
Updating for the 1.6.0 release.