Stephan Richter and Zope Corp are porting Zope 3 ZPT I18n support to Zope 2.x, probably with a target of Zope 2.7. Jim Sidnei da Silva wrote:
Hi Robert,
My friend Lalo (lalo@laranja.org) started a rewrite of TAL to make it more pluggable and ease backporting of i18n to Zope2. I dont know how much if it is done right now, but the last time I talked to him, he said that only METAL was missing.
His work is available at http://sf.net/projects/collective -> Browse CVS -> Alt-TAL module.
I think that the best idea is support him, as he has almost everything in place.
[]'s
On Seg 01 Jul 2002 11:50, Robert Rottermann wrote: | Hi Zopistas, | | I would very much appreciate your ideas and support in the matter of | backporting Z3 i18n support to 2.6+ | | I did get a number of answers to my inquiry regarding i18n support for | Plone. | It seems that the only sensible way to do this, is to backport the i18n | support from Zope3's TAL to Zope2.'s TAL. | | I have been looking into Zope3's TAL. What I found created mixed | enthusiasm. | | - there seems not to much code in TAL itself that is i18n related. | - However the TAL3's structure has been altered somehow to reflect changes | in Zope3's structure. | | Since I have not dealt much with Zope3 yet I have no idea what is needed to | add a module in TAL 2.6+ that | adds functionality to deal with such tags: | | (This are a snippets from Plone templates.) | ------------- | <span i18n:translate="">Posted by:</span> | <span tal:content="here/Creator">Poster Name</span> | <span i18n:translate="">at</span> | <span tal:replace="python: here.toPortalTime(here.modified())">8/23/2001 | 12:40:44 PM</span> | ------------- | <p tal:condition="not: len_text" | i18n:id="no_body_text"> | This document has yet to be written, click the edit tab to change the | document. | </p> | ------------- | | One could maybe use a brute force approach and just add a filter after the | TAL processing that deals with all i18n artifacts it finds. | | thanks for your input | | mit freundlichen GrĂ¼ssen | | Robert Rottermann | | Wir wollen Technik mit Menschlichkeit verbinden, | um Menschen mit Technik zu erreichen. | www.redcor.ch - die website | www.redcor.net - zope trainings (and more) | | | | _______________________________________________ | Zope-CMF maillist - Zope-CMF@zope.org | http://lists.zope.org/mailman/listinfo/zope-cmf | | See http://www.zope.org/Products/PTK/Tracker for bug reports and feature | requests
-- -- Jim Fulton mailto:jim@zope.com Python Powered! CTO (888) 344-4332 http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org