[Zope] Using ZBabel from a Python Script ?

Gitte Wange gitte@mmmanager.org
21 Dec 2001 12:18:47 +0100


fre, 2001-12-21 kl. 11:49 skrev Dirk Datzert:
> Hello Gitte,
> 
> I think that you have to use the translate()-function in Utils.py . Take a
> look there.
> 
> Regards,
> Dirk

Well I tried doing it from a Zope Python Script and got a permissions
error when importing ZBabel.Utils ...

Will an external method solve this ??

TIA,
Gitte Wange

> 
> ----- Original Message -----
> From: "Gitte Wange" <gitte@mmmanager.org>
> To: "Zope mailinglist" <zope@zope.org>
> Sent: Friday, December 21, 2001 11:38 AM
> Subject: [Zope] Using ZBabel from a Python Script ?
> 
> 
> > Hello,
> >
> > I have a script which resturns some strings based on different results.
> >
> > Now I am using ZBabel to create a multi-lingual site ... I was just
> > wondering if I in any way could translate those string with ZBabel ???
> >
> > --
> > Gitte Wange Jensen
> >
> > Sys Admin, Developer and a lot more
> > MMmanager.org Aps, Denmark
> >
> > Phone: +45 29 72 79 72
> > Email: gitte@mmmanager.org
> > Web: www.mmmanager.org
> > ICQ: 26680028
> >
> > Quote of the day:
> > Jump right in.  The best way to learn (IMNSHO) is to screw up.
> > Build things, read other peoples code, and ask lots of questions
> > that you may think are dumb.
> >
> >     - Troy Farrell, Zope Mailing List, "Welcome to Zope"
> >
> >
> > _______________________________________________
> > Zope maillist  -  Zope@zope.org
> > http://lists.zope.org/mailman/listinfo/zope
> > **   No cross posts or HTML encoding!  **
> > (Related lists -
> >  http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope-dev )
> >