[CPS-devel] Translation in python script

damien.metzler at ext.leroymerlin.fr damien.metzler at ext.leroymerlin.fr
Fri May 5 15:58:30 CEST 2006


Hi, 
 
When I submit a document, I wanted to replace the table view of the section
by a treeview.
The Treeview is coded in Javascript and that's why i needed to generate it
with a python script (TAL/METAL expression causes errors when inserted in a
<script> tag). 
 
Now my JS tree works fine except that the labels are not translated. I
did'nt find any doc or sample where there are translations in it. 
I think i must get the localizer tool and call one of its method but i'm not
used with that....
 
Thx for your help
 
Damien
 
 


This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nuxeo.com/pipermail/cps-devel/attachments/20060505/badc64da/attachment.htm


More information about the cps-devel mailing list
More information about CPS: CPS project - CVS - API

Hosting: Nuxeo: Zope service provider


This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.