[Usuarios Plone] Viewlets y LinguaPlone

Jon Cano jon.cano at prlsoft.com
Wed Mar 16 16:55:46 UTC 2011


Hola a todos,

Al pasar de plone2.5 a plone 4 estoy bastante perdido.

Solucionados otros problemas ahora me surge uno nuevo

La modificacion del Header, que antes se hacia mediante el 
main_template, ahora esta el tema de los viewlets que me trae de cabeza.

Puedo ocultarlos dede el @@manage-viewlets, pero queroa poner el you are 
here en el footer y no puedo.

¿¿Algun consejo respecto a los viewlets o como modificarlos??

Y el otro tema es las traducciones en plone 4, que antes usaba algo tal 
que asi

<td 
tal:condition="python:portal.portal_languages.getLanguageBindings()[0] 
== 'es' ">
<h5 style="background-color: #990000; color:rgb(255, 255, 255); 
font-weight: lighter; vertical-align: top;">&nbsp;&nbsp;&Uacute;ltimas 
Noticias&nbsp;&nbsp;</h5></td>
<td 
tal:condition="python:portal.portal_languages.getLanguageBindings()[0] 
== 'en' ">
<h5 style="background-color: #990000; color:rgb(255, 255, 255); 
font-weight: lighter; vertical-align: top;">&nbsp;&nbsp;Lastest 
News&nbsp;&nbsp;</h5></td>
<td 
tal:condition="python:portal.portal_languages.getLanguageBindings()[0] 
== 'fr' ">
<h5 style="background-color: #990000; color:rgb(255, 255, 255); 
font-weight: lighter; vertical-align: 
top;">&nbsp;&nbsp;Actulit&eacute;s&nbsp;&nbsp;</h5></td>
<td 
tal:condition="python:portal.portal_languages.getLanguageBindings()[0] 
== 'de' ">
<h5 style="background-color: #990000; color:rgb(255, 255, 255); 
font-weight: lighter; vertical-align: 
top;">&nbsp;&nbsp;Nachrichten&nbsp;&nbsp;</h5></td>
<td 
tal:condition="python:portal.portal_languages.getLanguageBindings()[0] 
== 'ru' ">
<h5 style="background-color: #990000; color:rgb(255, 255, 255); 
font-weight: lighter; vertical-align: top;">&nbsp;&nbsp;Lastest 
News&nbsp;&nbsp;</h5></td>
<td 
tal:condition="python:portal.portal_languages.getLanguageBindings()[0] 
== 'zh' ">
<h5 style="background-color: #990000; color:rgb(255, 255, 255); 
font-weight: lighter; vertical-align: 
top;">&nbsp;&nbsp;&#26368;&#26032;&#26032;&#32862;&nbsp;&nbsp;</h5></td>

y ahora ya no puedo, y tengo que usar archivos .po y no consigo que 
funcione nada

Gracias


-- 
Un saludo

<=====================================>
	------ Jon Cano ------
        	 jon.cano at prlsoft.com
       ===========================
	 Tfno.: +34 944 417 512
	 Fax.:  +34 944 417 512
<=====================================>




More information about the Usuarios-Plone mailing list