Dmitry Vasiliev wrote:
Hi Everyone,

In the most cases users of the translate() expect untranslated string will be returned if no translation is performed. See for example Issue #298 (http://www.zope.org/Collectors/Zope3-dev/298). Is this reasonable to change the translate() to return untranslated string by default instead of None?

I think so. I also don't agree with myself anymore regarding the fixing of issue 298; your proposal sounds a lot better.

So, +1 to the change. The question remains what to do on X3.0 branch. Changing the semantics of zope.i18n.translate could already jeopardize backward compatability between X3.0 and 3.1; such a change between X3.0.0 and X3.0.1 could be even be worse...

Thoughts?

Philipp
_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to