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

Support injection into i18n key generators

XMLWordPrintable

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

      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());
      }
      

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Task DoD