Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-204

I18n classes should not require methods related to locales and problems

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Minor Minor
    • 0.2
    • 0.1
    • Common
    • None

      Previously we decided to require all I18n classes to have the following methods:

      public static Set<Locale> getLocalizationProblemLocales()

      { return I18n.getLocalizationProblemLocales(JcrI18n.class); }

      public static Set<String> getLocalizationProblems()

      { return I18n.getLocalizationProblems(JcrI18n.class); }

      public static Set<String> getLocalizationProblems( Locale locale )

      { return I18n.getLocalizationProblems(JcrI18n.class, locale); }

      Since these are merely for convenience, we've backed off of requiring these. The only change is the AbstractI18nTest class should be changed to use the corresponding methods in I18n.class rather than depending upon each internationalization class defining them.

              teiid John Verhaeg (Inactive)
              teiid John Verhaeg (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: