Re: portal_actions übersetzen

"Maik Derstappen, Derstappen IT" <[email protected]>
Newsgroups gmane.comp.web.zope.german
Organization Derstappen IT Consulting
Message-ID <[email protected]>
Am 17.01.2011 15:23, schrieb Michael Graf:
>
> Hallo,
>
> das ich den Title und Description bei den portal_actions übersetzen 
> kann ist mir klar, aber kann ich auch die url_expr und die 
> available_expre übersetzen?
>
> Ich habs mal so versucht – hat nicht funktioniert (wird mir das Tab 
> nicht mehr angezeigt):
>
> --------------------
>
> <object name="about " meta_type="CMF Action" 
> i18n:domain="fhkrems.directory">
>
> <property name="title" i18n:translate="">About us</property>
>
> <property name="description" i18n:translate=""></property>
>
> <property name="url_expr" 
> i18n:translate="">string:${globals_view/navigationRootUrl}/en/about-us</property>
>
> <property name="icon_expr"></property>
>
> <property name="available_expr" 
> i18n:translate="">python:context.restrictedTraverse('@@plone_portal_state').language() 
> == 'en'</property>
>
> <property name="permissions">
>
> <element value="View"/>
>
> </property>
>
> <property name="visible">True</property>
>
> </object>
>
> --------------------
>
>
was gibt dir denn 
python:context.restrictedTraverse('@@plone_portal_state').language() zurück?

-- 
========================================================================

Derstappen    I T  Consulting   Tel:         +49 ( 341 )   600  13  0 31
Zope/E-Mail/Backup/Monitoring   Mobil:       +49 ( 178 )   861  2    833
M a i k   D e r s t a p p e n   Fax:         +49 ( 180 ) 5 021 121 90 56
H e r l o ß s o h n s t r  12   Email:  [email protected]
0 4 1 5 5       L e i p z i g   Internet:    http://www.derstappen-it.de

========================================================================



_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.