[CPS-devel] Re: [URGENT HELP]: i18n buggy translation in edit mode (UTF-8)

Vladimir Iliev vladimir.iliev at gmail.com
Thu Jan 19 00:09:23 CET 2006



Florent Guillaume wrote:
> On 17 Jan 2006, at 11:01, Andrei Kaikov wrote:
>> I'm using CPS 3.2.4 on Zope 2.7.6. Site has RU (Russian) local (UTF-8
>> encoded). The
>> i18n translation is working perfect, except of in the 'edit' mode.
>> Russian labels for widgets in 'edit' mode are translated to
>> '????????'.
>>
>> I guess the problem is somehow in renderEditDetailed() function that
>> collects and publish the layouts' rendering scripts.
>>
>> Can you advice me on this? I need you help urgently!
> 
> I've no idea why that happens. Some debugging would be needed, and CPS
> 3.2.4 is now an old version we're not used to hacking anymore.

The problem exists in 3.3.8 as well, and the only workaround I've found
is to insert <tal:zz define="dummy python:
request.RESPONSE.setHeader('Content-Type',
    'text/html;; charset=utf8')"/> in layout_* templates.


> 
> Florent
> 
> --Florent Guillaume, Nuxeo (Paris, France)   Director of R&D
> +33 1 40 33 71 59   http://nuxeo.com  
> fg-CQNGlVZ5l00AvxtiuMwx3w at public.gmane.org
> 
> 
> _______________________________________________
> cps-devel mailing list
> http://lists.nuxeo.com/mailman/listinfo/cps-devel
> 





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.