ZF-3675: Add default locale to Zend_Translate

Issue Type: New Feature Created: 2008-07-17T15:02:21.000+0000 Last Updated: 2008-09-02T10:39:31.000+0000 Status: Resolved Fix version(s): - 1.6.0 (02/Sep/08)

Reporter: Thomas Weidner (thomas) Assignee: Thomas Weidner (thomas) Tags: - Zend_Translate

Related issues: Attachments:


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.


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.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.