Issues

ZF-2736: Add rerouting for translations

Issue Type: New Feature Created: 2008-02-27T05:25:55.000+0000 Last Updated: 2010-05-16T10:37:16.000+0000 Status: Resolved Fix version(s): - 1.10.5 (26/May/10)

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

Related issues: Attachments:

Description

A new feature should be added. It should be possible to use a sort of routing mechanism for non-translated messageid's.

If a messageid is not translated in a particular language it should automatically look for another defined language... So you should be possible to do something like this:

Translate Spain: String 1 not translated in spain -> goto French -> String 1 not translated in French -> goto German -> String 1 not translated in german -> return messageid

a new "setDefault" method should be able to define such fallback rules. So strings which are not translatable in one language will be returned in another language.

Comments

Posted by Loïc Frering (loic.frering) on 2009-05-27T01:55:34.000+0000

I would really enjoy to see this feature implemented =)

Posted by Thomas Weidner (thomas) on 2010-05-16T10:37:07.000+0000

Feature implemented with r22182

See the manual or my blog for details

Have you found an issue?

See the Overview section for more details.

Copyright

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

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

Contacts