Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-9048

Fix locale detection by JSF components when switching locale

    XMLWordPrintable

    Details

    • Impact type:
      API change
    • Upgrade notes:
      Hide

      if startupHelper was customized, need to switch locale calling restHelper#setLocaleString instead of localeSelector#setLocaleString

      Show
      if startupHelper was customized, need to switch locale calling restHelper#setLocaleString instead of localeSelector#setLocaleString

      Description

      Steps to reproduce:

      • display a page with components using the current locale (for instance "nature" property on a file, or "modified" date on document listings)
      • switch the locale by appending "locale=fr" or "locale=en" to the URL

      => these components keep on using the previous locale (switch is not effective) even if the rest of the page is translated accurately using the new locale.

        Attachments

          Activity

            People

            • Assignee:
              atchertchian Anahide Tchertchian
              Reporter:
              atchertchian Anahide Tchertchian
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: