[Zope-dev] Re: [Zope-CMF] i18n for CMF And Plone, backporting i18n to Zope 2.x

Jim Fulton jim@zope.com
Mon, 01 Jul 2002 12:07:06 -0400


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,
>=20
> My friend Lalo (lalo@laranja.org) started a rewrite of TAL to make it m=
ore=20
> pluggable and ease backporting of i18n to Zope2. I dont know how much i=
f it=20
> is done right now, but the last time I talked to him, he said that only=
 METAL=20
> was missing.
>=20
> His work is available at http://sf.net/projects/collective -> Browse CV=
S ->=20
> Alt-TAL module.
>=20
> I think that the best idea is support him, as he has almost everything =
in=20
> place.
>=20
> []'s
>=20
> 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 fo=
r
> | Plone.
> | It seems that the only sensible way to do this, is to backport the i1=
8n
> | 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 ch=
anges
> | in Zope3's structure.
> |
> | Since I have not dealt much with Zope3 yet I have no idea what is nee=
ded 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=3D"">Posted by:</span>
> |  <span tal:content=3D"here/Creator">Poster Name</span>
> |  <span i18n:translate=3D"">at</span>
> |  <span tal:replace=3D"python: here.toPortalTime(here.modified())">8/2=
3/2001
> | 12:40:44 PM</span>
> | -------------
> |   <p tal:condition=3D"not: len_text"
> |            i18n:id=3D"no_body_text">
> |       This document has yet to be written, click the edit tab to chan=
ge the
> | document.
> |   </p>
> | -------------
> |
> | One could maybe use a brute force approach and just add a filter afte=
r the
> | TAL processing that deals with all i18n artifacts it finds.
> |
> | thanks for your input
> |
> | mit freundlichen Gr=FCssen
> |
> | 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 feat=
ure
> | requests
>=20
>=20



--=20
--
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