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

Support injection into i18n key generators

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Do
    • Neutral
    • None
    • None
    • i18n
    • None

    Description

      So we can create custom generator with injected components (like SiteManager).
      The solution is simple:

      info.magnolia.i18nsystem.I18nKeyGeneratorFactory#newKeyGenerator {
          return Components.newInstance(i18nable.keyGenerator());
      }
      

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD