Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-18771

i18n translations are not utilized in the versionview (content preview)

    XMLWordPrintable

Details

    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

      Attachments

        Activity

          People

            dp@ez.no dp@ez.no
            2b274289-6c7c-4b95-a70d-ca6c4a846602@accounts.ibexa.co j h
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: