Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-842

Language switch for xmlui and some basic i18n stuff

    Details

    • Attachments:
      2
    • Comments:
      10
    • Documentation Status:
      Needed

      Description

      This patch enables the active language selection and adds some basic i18n support to prepare for further i18n related changes like i18n dependant input forms.

      It changes
      [dspace-src]dspace-xmlui-api/src/main/java/org/dspace/app/xmlui/cocoon/DSpaceLocaleAction.java
      and stores the active locale in the session and context.

      It adds the information about the supported locales and the current locales to the page metadata via [dspace-src]/dspace-xmlui-api/src/main/java/org/dspace/app/xmlui/aspect/artifactbrowser/Navigation.java

      It drops the dspace.cfg parameter xmlui.supported.locales which is used in the xmlui-webapp and xmlui-api in favor of the
      webui.supported.locales, which is used in the dspace-api, jspui-webapp and jspui-api. So we got one parameter for the general api and both ui's

      Furthermore it contains an patch for the Mirage theme adding a language selection to the header.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                helix84 Ivan Masár
                Reporter:
                cjuergen Claudia Jürgen
              • Votes:
                5 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: