Organize strings.xml under Android resources into an excel table tool.
- Organize the strings.xml resources of the Android project into an excel sheet
- Parse the excel table into strings.xml resources available for Android
build the package:
./gradlew build
run the project:
./gradlew run
the output is:
usage: TranslateTool
- <arg> d/decode
-d,--dir <arg> Set translate resource dir
-h,--help Print this usage information.
-o,--output <arg> Set output file path
-v,--version Print version information.
You can download dist in this directory: dist
- Download and unzip to the directory
- Run the startup script in the bin folder
example:
./TranslateTools -d <XXX/AndroidProject/app/src/main/res>
-d,--dir
set translate resource dir, e.g. /AndroidProject/app/src/main/res
./TranslateTools d -d XXX.xlsx