[Zope-PTK] Translation of PTK

Tres Seaver tseaver@digicool.com
Fri, 1 Dec 2000 14:12:42 -0500 (EST)


On Fri, 1 Dec 2000, robert wrote:

> Hi Tres,
> I checked all the DTML files in both PTKBase and PTKDemo. However they do
> not contain much to translate. All seems to be in PTKDemo.zexp file. And I
> do not know how to access its content other than checking every single item
> for translatable text.

Well, that is good news (in a way);  I have created a utility product,
FSDump, which I use to dump out DemoPortal to the filesystem:

  http://www.zope.org/Members/tseaver/FSDump

I think there is probably some English in the Python files (e.g.,
the 'listActions()' methods).

> Robert
> 
> 
> > robert wrote:
> >
> > > Is there a provision to translate PTK to other languages?
> > > I am very keen to do a German translation, but it seems that
> > > lots of strings that are displayed are hardcoded.
> >
> > Much of the displayed text is generated by DTML methods which
> > are copied to the portal instance at creation (or "interface
> > refresh").  You could start by editing these objects.  If you
> > do so, please bundle them into a separate folder, export it,
> > upload it to www.zope.org, and link to it from:
> >

Thanks for pushing on this!

Tres.
-- 
===============================================================
Tres Seaver                                tseaver@digicool.com
Digital Creations     "Zope Dealers"       http://www.zope.org