Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-6621

Rename messages files as TranslationService does not support same name files

    XMLWordPrintable

Details

    • Epic
    • Resolution: Fixed
    • Critical
    • 5.4.6
    • 5.4.5
    • i18n
    • None
    • renameDuplicatedI18nFiles

    Description

      TranslationService uses origin since MAGNOLIA-6234. Origin doesn't support same name files, so only the first translation file is loaded. This affect modules which have mgnl-i18n/messages_en.properties files, e.g. /magnolia_ui/magnolia-ui-admincentral/src/main/resources/mgnl-i18n/messages_en.properties.
      The solution is to move the files to the new moduleName/i18n location or rename the file.

      Go trough all modules and look for mgnl-i18n/messages_en.properties file and check if more modules are affected.

      find */src/main/resources/mgnl-i18n/messages_*.properties
      

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                mdivilek Milan Divilek
                rkovarik Roman Kovařík
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: