[Zope3-dev] MessageID's automatic translation in TAL

Dmitry Vasiliev lists at hlabs.spb.ru
Fri May 6 10:11:40 EDT 2005


Recently Stephan and me have a discussion on the IRC about purpose of 
i18n:translate attribute for tags with dynamic content through tal:content 
attribute. Stephan pointed out that i18n:translate in this case is just a 
marker for call translate() later. But later I discovered that 
TALInterpreter.do_isertText_tal() does the automatic translation for all 
MessageID's even when the t18n:translate isn't present.

So now the question: Do we need automatic translation for all MessageID's?

Stephan also have pointed that automatic translation doesn't allow somebody to 
disable translation on purpose for some piece of content.

I'm personally think that automatic translation would be helpful in some cases.

Opinions?

-- 
Dmitry Vasiliev (dima at hlabs.spb.ru)
     http://hlabs.spb.ru


More information about the Zope3-dev mailing list