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

    Details

    • Type: Story
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1
    • Component/s: i18n
    • Labels:

      Description

      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.

        Checklists

        Acceptance criteria

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Checklists

                    DoD

                      Time Tracking

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