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

Support i18n directory in light module

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 5.4.6
    • None
    • None
    • None
    • Yes
    • Yes
    • Kromeriz 35
    • 3

      MAGNOLIA-6234 Introduces loading i18n bundles in the resources app.
      But the current directory format will not work for light modules which are present in the webapp "resources directory", because all files associated with a light module should go in one directory.
      Therefore:

      • translations should continue to be loaded from the current /src/main/resources/mgnl-i18n directory of a maven module.
      • On a light module should also be loaded from <resources dir>/<module-name>/i18n.
      • Which means in a maven module they should also be loaded from /src/main/resources/<module-name>/i18n

      Open Questions:
      Before implementation, it must be decided if this new i18n directory supports all of the existing keys, or only a subset.

        Acceptance criteria

              ajuran AntonĂ­n Juran
              czimmermann Christopher Zimmermann
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD