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

Introduce i18n key generator for templates

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Neutral
    • 5.4.4
    • None
    • rendering, templating
    • None
    • Kromeriz 25
    • 1

    Description

      • introduce template i18n key generator
      • allow injection into key generators (info.magnolia.i18nsystem.I18nKeyGeneratorFactory#newKeyGenerator)
      • make info.magnolia.rendering.template.RenderableDefinition#getI18nBasename deprecated.

      Autogenerated key pattern is:

      • templates.areas.TEMPLATE_NAME
      • templates.components.TEMPLATE_NAME
      • TODO templates.pages.TEMPLATE_NAME

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                rkovarik Roman Kovařík
                rkovarik Roman Kovařík
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 0.25h
                    0.25h