Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-18548

The Debian package should register icu4j-localespi as Java extension

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 13.2
    • Fix Version/s: None
    • Component/s: Distribution - Debian
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      XWiki embeds ICU4J because it's a dependency of Jython but in practice it's not really used by anything else than Jython because it's not loaded by Java as alternate Locales. This can only be done through java ext libraries which cannot be provided by a WAR unfortunately. It's a pity since XWiki have several translations for locales which are not supported by Java (fa, si, km).

      See https://sites.google.com/site/icuprojectuserguide/icu4j-locale-service-provider

      But that does not prevent us from injecting ICU4J in setups on which we have more control (like the XWiki Jetty package, the Debian packages and the Docker image).

      Note that since Java 9 all locales supported by CLDR (the source of ICU4J) are embedded in Java making this issue a lot less important (could still be interesting to have really the latest locales update depending on which version of Java runtime you are using).

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: