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

System i18n: Template definition's 'title' should be i18n-ized comparable to 'labels' & 'description' of form-fields or apps.

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Neutral Neutral
    • None
    • 5.6.7, 5.7.1
    • i18n

      The input came from Deutschebahn DB in my last training, they will need it in their project.

      Our 'System i18n' implementation allows to translate everything seen by the author in admin central:

      • labels of Actions
      • labels & descriptions of form fields
      • etc

      But there is one big missing piece:

      The 'title' of a template definition (pages & components).

       

      Here a screen overview of what is translate able (yellow) and what not (red):

      1. Page's browser app: looking at a website tree
      2. Page's browser app: creating a new page / choosing a page template
      3. Page's detail app: existing components on a page
      4. Page's detail app: adding a new components / choosing a component template
      5. Page's detail app: Area names on a page

      Solution for pages & components

      The same logic could be applied to the property 'title' of a template definition as its used for 'label' and 'description' in other places:
      "If there is no title defined in a template definition, resolve the auto generated key in a message bundle file."

      Solution for areas

      This one is a bit harder as the default area definition does not have a title set usually -> suddenly everywhere a i18n key would appear on the area green bars.

      Here I would reverse the logic:

      • if no 'title' defined then behave as now -> use the area name
      • if a title is defined one can add manually a i18n key which gets:
        • first resolved in a message bundle file and if not resolvable then used as static string

        Acceptance criteria

          1. Areas.png
            109 kB
            Christian Ringele
          2. Components1.png
            185 kB
            Christian Ringele
          3. Components2.png
            84 kB
            Christian Ringele
          4. Pages.png
            149 kB
            Christian Ringele
          5. Pages2.png
            38 kB
            Christian Ringele

              Unassigned Unassigned
              cringele Christian Ringele
              AuthorX
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:

                  Task DoD