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

As a user I need a way to pick correct Content name language

    XMLWordPrintable

Details

    Description

      Similar needs as the field selection for translated properties.

      $content->contentInfo->name always returns the content name in the main language (not translated). To access to translated name, we need to use $content->versionInfo->names['eng-GB'].
      But in a template, we don't always have knowledge of the current locale (or we might don't want to), so a helper to get translated name is needed.

      Furthermore, if the current locale is not available as a translation for the content, we then need to use prioritized languages.

      Attachments

        Activity

          People

            Unassigned Unassigned
            andre.romcke-obsolete@ez.no André Rømcke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 30 minutes
                3h 30m