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

Display the language name instead of the language code in the UI

    Details

      Description

      For now the language code is display but instead we should display the name of the language.

        Issue Links

          Activity

          Hide
          Damien Pobel (Inactive) added a comment -

          We should introduce a new handlebars template function for that which would take the language code and return the language. For instance, something like:

          <p>{{ 'eng-GB'|language_name() }}</p>
          

          Since the app is holding the system languages list, this template helper should be provided by an App plugin (like eZ.Plugin.RegisterUrlHelpers for instance)

          Show
          Damien Pobel (Inactive) added a comment - We should introduce a new handlebars template function for that which would take the language code and return the language. For instance, something like: <p>{{ 'eng-GB'|language_name() }}</p> Since the app is holding the system languages list, this template helper should be provided by an App plugin (like eZ.Plugin.RegisterUrlHelpers for instance)
          Show
          Mateusz Hyndle (Inactive) added a comment - - edited PR: https://github.com/ezsystems/PlatformUIBundle/pull/471 (merged into master: https://github.com/ezsystems/PlatformUIBundle/commit/c407037dedf359e403b5f206d660b6e88f1188cc )
          Hide
          Rui Silva (Inactive) added a comment -

          Tested and approved by QA for master.

          Show
          Rui Silva (Inactive) added a comment - Tested and approved by QA for master.
          Hide
          Bertrand Dunogier added a comment -

          Cherry-picked to 1.0 in https://github.com/ezsystems/PlatformUIBundle/commit/d2b4014 (ezsystems/platform-ui-bundle:v1.0.1).

          Show
          Bertrand Dunogier added a comment - Cherry-picked to 1.0 in https://github.com/ezsystems/PlatformUIBundle/commit/d2b4014 (ezsystems/platform-ui-bundle:v1.0.1).

            People

            • Assignee:
              Unassigned
              Reporter:
              Damien Pobel (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              5 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 - 1 day, 3 hours
                1d 3h