Details
-
Story
-
Resolution: Fixed
-
Medium
-
None
-
None
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:
- shell.html.twig should load the translations configured in the browser
- Y.eZ.trans() should be more than a shortcut to Translator.trans(), it should iterate over the languages to find the best translation
the same strategy should be applied to what is generated server side (pjax)EZP-26600
Attachments
Issue Links
- relates to
-
EZP-26600 Translate server side generated part based on the browser's language(s)
- Closed