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

Missing locale and translation support in Twig & Public API, locale mapping needed

    Details

      Description

      From the Sensio Labs review:

      Actually, the static labels in the Twig templates are not translatable by the framework, because it is not aware of the language of the current page

        Issue Links

          Activity

          Hide
          Jérôme Vieilledent (Inactive) added a comment -

          Making aware of the current language => translate eZ Publish locale format to Symfony format

          Show
          Jérôme Vieilledent (Inactive) added a comment - Making aware of the current language => translate eZ Publish locale format to Symfony format
          Show
          Jérôme Vieilledent (Inactive) added a comment - https://github.com/ezsystems/ezpublish-kernel/pull/267
          Show
          Jérôme Vieilledent (Inactive) added a comment - - edited Fixed in ezpublish-kernel master : https://github.com/ezsystems/ezpublish-kernel/commit/9d0eb18b59064f06bc1b96222279804e7a95967b ezpublish-community master : https://github.com/ezsystems/ezpublish-community/commit/54830c6f0bd79c3ee883b1311d1ef1d5b4a2aeca
          Hide
          Jérôme Vieilledent (Inactive) added a comment -

          For documentation : It should be documented that it's possible to add locales to the conversion map in ezpublish.yml.
          Run php ezpublish/console config:dump-reference ezpublish for info and example (look for locale_conversion key).

          Show
          Jérôme Vieilledent (Inactive) added a comment - For documentation : It should be documented that it's possible to add locales to the conversion map in ezpublish.yml . Run php ezpublish/console config:dump-reference ezpublish for info and example (look for locale_conversion key).
          Hide
          Ricardo Correia (Inactive) added a comment -

          The following document has been updated accordingly:
          https://confluence.ez.no/display/EZP/Configuration

          Show
          Ricardo Correia (Inactive) added a comment - The following document has been updated accordingly: https://confluence.ez.no/display/EZP/Configuration

            People

            • Assignee:
              Unassigned
              Reporter:
              André Rømcke
            • Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 3 days, 4 hours
                3d 4h
                Remaining:
                Time Spent - 1 day, 4 hours, 30 minutes Remaining Estimate - 1 day, 7 hours, 30 minutes
                1d 7h 30m
                Logged:
                Time Spent - 1 day, 4 hours, 30 minutes Remaining Estimate - 1 day, 7 hours, 30 minutes
                1d 4h 30m