[dna-issues] [JBoss JIRA] Created: (DNA-207) I18n classes should not require methods related to locales and problems

Johnny Verhaeg (JIRA) jira-events at lists.jboss.org
Mon Aug 18 14:46:06 EDT 2008


I18n classes should not require methods related to locales and problems
-----------------------------------------------------------------------

                 Key: DNA-207
                 URL: https://jira.jboss.org/jira/browse/DNA-207
             Project: DNA
          Issue Type: Feature Request
          Components: Common
    Affects Versions: 0.1
            Reporter: Johnny Verhaeg
            Assignee: Johnny Verhaeg
            Priority: Minor
             Fix For: 0.2


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the dna-issues mailing list