I'm justr trying Zend_Translate, why not juste adding a simple methode to
auto echo  translation  ?

And why not return the $messageId if nothing is find ? Like wordpress
gettext librarie ?

I dont see your problem ???
When you want to translate a text which is not avaiable, EVERY translation library and also Zend Translate returns the original text/messageId.

An additional "echoing" function is nonsense because you can use an empty adapter. And when you give the messageID you probably know which text should be displayed as messageID should be the original text to simplify reading the code.

For details just look into the documentation where this behaviour is described.

Greetings
Thomas
I18N Team Leader

Reply via email to