Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.0.7, 4.1.4, 4.2.0, 4.3.0, 4.4.0, 4.5.0
-
None
Description
Steps to reproduce
1. in multilingual site create an object with two tranlsations
2. add the i18n operator to the object's template (make sure there's a translation for the text you put to the operator). In my example I use a folder object and a text from standard ezpublish login template:
--- extension/ezwebin/design/ezwebin/override/templates/full/folder.tpl_org 2011-10-13 13:38:54.000000000 +0200 +++ extension/ezwebin/design/ezwebin/override/templates/full/folder.tpl 2011-10-13 13:39:00.000000000 +0200 @@ -17,6 +17,9 @@ <div class="attribute-header"> <h1>{attribute_view_gui attribute=$node.data_map.name}</h1> </div> +<ul> + <li>{"A valid username and password is required to login."|i18n("design/standard/user")}</li> +</ul> {if eq( ezini( 'folder', 'SummaryInFullView', 'content.ini' ), 'enabled' )} {if $node.object.data_map.short_description.has_content}
3. see the object in both languages on frontpage - the text is translated correctly
4. see the object in both languages in a backend using the versionview (preview) - the text is not translated correctly