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

Localization module stop searching for translation at the first bundle that contains the key for one of the parent locale of the passed locale

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 5.1-rc-1
    • 5.1-milestone-2
    • Localization
    • None
    • Unknown
    • N/A
    • N/A

    Description

      For example if you have the same translation keys in a wiki document and in the jar and the french translation is in the jar only you will get the default translation from the wiki document because it's the first bundle in the priority list.

      The Localization module should stop only when the bundle return a translation for the exact passed locale and try parent if not, etc.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: