On 3/20/07, Thomas Weidner <[EMAIL PROTECTED]> wrote:

> 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.


Yes it's what I write in my seconde mail.


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.


Juste dispense to add an echo in my view.....

In the 0.9 code,  there is two same fonction  _() and translate() that
return same things....



--
Yannux
http://blog.onbebop.net

Reply via email to