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

Rename messages files as TranslationService does not support same name files

    XMLWordPrintable

    Details

    • Type: Epic
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 5.4.5
    • Fix Version/s: 5.4.6
    • Component/s: i18n
    • Labels:
      None
    • Epic Name:
      renameDuplicatedI18nFiles
    • Magnolia Release:
      5.4.6

      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
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: