StringResExporter is a utility designed to facilitate the export and import of string resources between Android projects and XLS files.
# Export string resources from an Android project to a XLS file.
string-res-exporter --res2xls /path/to/res /path/to/xls
# Import string resources from a XLS file to an Android project.
string-res-exporter --xls2res /path/to/output.xls /path/to/res
In the usages below, ./src/test/resources/res
will be exported to /path/to/xls/output.xls
,
which contains three sheets: StringRes
,
PluralsRes
and ArrayRes
.
If you want to import resources from a XLS file, you must use the same formatted sheets,
including the same sheet names and column names
Mac OS or Linux
brew install Goooler/repo/string-res-exporter
Other
Download standalone JAR from
latest release.
On MacOS and Linux you can chmod +x
and execute the .jar
directly.
On Windows use java -jar
.