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

Forcing locale in JSF UI as described in documentation does not work

    XMLWordPrintable

    Details

    • Tags:
    • Backlog priority:
      400
    • Team:
      AT
    • Sprint:
      nxAT Sprint 8.4.4
    • Story Points:
      2

      Description

      Documentation How to Force Locale describes a way to force the language in the JSF UI but the deployment-fragment.xml part does not actually work.
      I tried in Studio by contributing it under Advanced Settings > Deployment Extensions but it does not work.
      I tried in a java bundle with a deployment-fragment.xml but it does not work either (even with <require>all</require> to make sure it is deployed last).

      A workaround is to contribute a Locale Provider. Here is an example of such a contribution: https://github.com/vdutat/nuxeo-custom-force-locale/tree/7.10

      The login.jsp part of the documentation works.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 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 - 2 hours
                  2h