Details

    • Affects:
      Documentation (Ref Guide, User Guide, etc.), Interactive Demo/Tutorial
    • Estimated Difficulty:
      Medium

      Description

      If a developer Injects a message interface and then does BlahMessages.helloWorld("Brian"); how does that become localized to either the App locale or the Client locale?

      For App locale, could specify developer adds @Locale('fr') to message interface injection point

      For Client locale, above approach doesn't work. Need to have a wrapper class around the various locale specific message interfaces that the developer would inject to use, and then when called would call the appropriate locale specific version.

      Something like:
      class MessagesWrapper<BlahMessage> {}
      with a way to specify which locales are supported in that wrapper, so it knows possible locale specific interfaces it would require, and then it uses the @Client @Locale to retrieve the correct localized message

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                kenfinni Ken Finnigan
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4 hours
                  4h
                  Remaining:
                  Remaining Estimate - 4 hours
                  4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified