Class TranslationsCheck


public class TranslationsCheck
extends java.lang.Object
Simple utility that shows you a sorted list of property differences between the 'default en' and a given i18n file. It also warns if there are any duplicates.

The first argument is the language, and it is mandatory. The second argument is the path. If the path is not defined, uses current path (.)

For example (if you're compiling your classes to "classes"): java -cp classes TranslationsCheck fi

  • Constructor Summary

    Constructor Description
  • Method Summary

    Modifier and Type Method Description
    int detectDuplicates​(java.lang.String source)  
    java.util.Map<java.lang.String,​java.lang.Integer> diff​(java.lang.String source1, java.lang.String source2)  
    static void main​(java.lang.String[] args)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • main

      public static void main​(java.lang.String[] args) throws
    • diff

      public java.util.Map<java.lang.String,​java.lang.Integer> diff​(java.lang.String source1, java.lang.String source2) throws
    • detectDuplicates

      public int detectDuplicates​(java.lang.String source) throws