Translation issue in one template

Author Message

Carlos Revillo

Wednesday 02 May 2007 5:17:13 am

Hi. I have made a translation for static content in my templates. but i have problems with some templates, and only with these templates.
For example, my translation.ts file looks like

<context>
<name>common</name>
<source>más información</source>
<translation>más información</translation>
</context>

If in my pagelayout.tpl i code

     {'más información'|i18n('common')}

all works as expected, but if i did the same in another template (this is a template for elements of a custom class) i get a warning like this...

No translation for file(translation.ts) in context(common): 'más información' with comment()

Any ideas? Thanks in advance.

Carlos Revillo

Wednesday 02 May 2007 6:19:08 am

Forgot it!. It was a typo mistake. Sorry.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.