Uploaded image for project: 'Webservices REST Module'
  1. Webservices REST Module
  2. RESTWS-437

Support i18n of metadata in a compatible way to that implemented in UI Framework

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: TBD
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Complexity:
      Medium

      Description

      RESTWS should support i18n of metadata in the way pioneered in the UI Framework, and used in the reference application.

      Basically this means that, given a metadata, if there is a message for the code "ui.i18n.(CLASS.SIMPLENAME).name.(UUID)" then this should be used as the display name for the class.

      (E.g.: "ui.i18n.PatientIdentifierType.name.e66645eb-03a8-4991-b4ce-e87318e37566")

      Basically, we should change the base Metadata resource abstract class so that if there's a matching message, we send this back instead of getName() in the "display" field.

      See these places for what was implemented in the UI framework:

        Attachments

          Activity

            People

            • Assignee:
              darius Darius Jazayeri
              Reporter:
              darius Darius Jazayeri
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Time Spent - 4 hours Remaining Estimate - 4 hours
                4h
                Logged:
                Time Spent - 4 hours Remaining Estimate - 4 hours
                4h