Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-51

Support localization of internal data

    XMLWordPrintable

    Details

    • Complexity:
      Medium

      Description

      Add a method for providing localization of data – e.g., a central service for looking up a local version of any data field through a key.

      (+) (PK) i18n.name
      (+) (PK) i18n.locale
      (+)      i18n.value
      
      public interface I18nService \{
      
          /* Get value for current locale */
          public String lookup(String name);
      
          /* Get value for any locale */
          public String lookup(String name, Locale locale);
      
          /* Add a value */
          public void add(String name, Locale locale, String value);
      \}
      

        Attachments

        1. 372.patch
          61 kB
        2. 372-total.patch
          309 kB
        3. code%20review%20comments%202010-06-14.txt
          2 kB
        4. metadatalocalizationreview.txt
          26 kB

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            burke Burke Mamlin
            Votes:
            2 Vote for this issue
            Watchers:
            10 Start watching this issue

              Dates

              Created:
              Updated: