Class StringsResourceTranslator


  • public final class StringsResourceTranslator
    extends java.lang.Object

    A utility which auto-translates English strings in Android string resources using Google Translate.

    Pass the Android client res/ directory as first argument, and optionally message keys who should be forced to retranslate. Usage: StringsResourceTranslator android/res/ [key_1 ...]

    You must set your Google Translate API key into the environment with -DtranslateAPI.key=...

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      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
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.io.IOException
        Throws:
        java.io.IOException