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

Use the languages provided by the browser

    XMLWordPrintable

Details

    Description

      If possible, the interface should be translated in the preferred languages send by the browser. At the moment, the main language of the matched siteaccess is used with a fallback on "en".

      This involves several changes:

      1. shell.html.twig should load the translations configured in the browser
      2. Y.eZ.trans() should be more than a shortcut to Translator.trans(), it should iterate over the languages to find the best translation
      3. the same strategy should be applied to what is generated server side (pjax) EZP-26600

      Attachments

        1. browser window full.jpg
          browser window full.jpg
          284 kB
        2. browser window full 2.jpg
          browser window full 2.jpg
          353 kB
        3. greek vs french chrome.jpg
          greek vs french chrome.jpg
          266 kB
        4. loading app greek.jpg
          loading app greek.jpg
          69 kB
        5. platformui greek.jpg
          platformui greek.jpg
          255 kB

        Activity

          People

            Unassigned Unassigned
            damien.pobel-obsolete@ez.no Damien Pobel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: