Changeset 7897 in josm


Ignore:
Timestamp:
2014-12-27T11:09:32+01:00 (9 years ago)
Author:
stoecker
Message:

see #8645 - also enable new language on older systems

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/I18n.java

    r7894 r7897  
    388388        // Enable CLDR locale provider on Java 8 to get additional languages, such as Khmer.
    389389        // http://docs.oracle.com/javase/8/docs/technotes/guides/intl/enhancements.8.html#cldr
    390         // This can be removed after we switch to a minimal version of Java that enables CLDR by default
     390        // FIXME: This can be removed after we switch to a minimal version of Java that enables CLDR by default
    391391        // or includes all languages we need in the JRE. See http://openjdk.java.net/jeps/8043554 for Java 9
    392392        Utils.updateSystemProperty("java.locale.providers", "JRE,CLDR");
     
    413413        languages.put("it", PluralMode.MODE_NOTONE);
    414414        languages.put("ja", PluralMode.MODE_NONE);
    415         if (Main.isJava8orLater()) {
    416             // Java 8 and later code
     415        //if (Main.isJava8orLater()) {
     416            // fully supported only with Java 8 and later code
    417417            languages.put("km", PluralMode.MODE_NONE);
    418         }
     418        //}
    419419        //languages.put("nb", PluralMode.MODE_NOTONE);
    420420        languages.put("nl", PluralMode.MODE_NOTONE);
Note: See TracChangeset for help on using the changeset viewer.