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

As a developer I can annotate objects to be internationalized and let a framework do the rest

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Fixed
    • Icon: Critical Critical
    • 5.1
    • None
    • i18n
    • 5.1 Beta1- Frontend, 5.1 - Final
    • 2

      Up until Magnolia 5.0, we were relying on code calling info.magnolia.cms.i18n.MessagesManager in each and every place that needed translation.
      The process was tedious and error prone. If a developer forgot to do this from the start, or to write his code in such a way that labels could be internationalized, finding usages of code and replacing it can be a long and error prone process.
      With this proposal, we introduce an annotation-based framework, where any object can be decorated such that its method annotated with @I18nText will return a translated text.

        Acceptance criteria

              gjoseph Magnolia International
              gjoseph Magnolia International
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD

                    Estimated:
                    Original Estimate - 2d
                    2d
                    Remaining:
                    Remaining Estimate - 2d
                    2d
                    Logged:
                    Time Spent - Not Specified
                    Not Specified