Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-7123

Allow country-specific localization in XUI

    Details

    • Sprint:
      AM Sustaining Sprint 14
    • Support Ticket IDs:

      Description

      When following the steps here:
      https://backstage.forgerock.com/#!/docs/openam/12.0.0/install-guide/chap-custom-ui#basic-xui-configuration

      Much of the text supplied in XUI is stored in translation.json files for each locale. To customize the English text, edit XUI/locales/en/translation.json under the directory where OpenAM is unpacked for deployment. To prepare a translation for a new locale, copy the English file, XUI/locales/en/translation.json, to XUI/locales/new-locale/ and edit the copy changing only the values not the keys, and taking care not to change the JSON structure or to render it invalid.

      When attempting to use the locale based off of the Browser headers (in preferences set the browsers language to another language), it does not pick up the dialect part.

      So if you use English it will show the correct English translation

      If you set it to Spanish - it will show the correct Spanish translation

      If you set it to Spanish Mexican - it will just show the "unspecific" Spanish translation
      rather then the "specific" Spanish Mexican translation that was created.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                peter.major Peter Major [X] (Inactive)
                Reporter:
                david.bate David Bate
              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0h
                  0h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 8h
                  8h