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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 5.1-milestone-2
    • Fix Version/s: 5.1-rc-1
    • Component/s: Localization
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: