-
Notifications
You must be signed in to change notification settings - Fork 12
ReswPlusCmd
In addition to all the features to enrich resw files, ReswPlus also provides a command-line tools providing many features.
The command-line tool is now part of the nuget package ReswPlusLib, in the directory packages/ReswPlusLib.xxxx/Tools/ReswPlusCmd
.
This is very unfortunate, but not all localization tools and localization companies support recovery files. This is even more of an issue when you want to support Pluralization, as resw does not support it by default.
Run the following command:
ReswPlusCmd.exe resw-to-xml -i <resw file path> <output file path>
You can also do it directly from VS, simply right click on the resw associated to the default language of your app and select ReswPlus > Export to Android XML format
.
Run the following command:
ReswPlusCmd.exe xml-to-resw -i <source path> <output path>
The source path can be:
- a XML file
- the output path must be a file path in this case.
- a directory containing a collection of directories containing your localization files, using the file/folder structure used by Android apps:
<root folder>/values-<Language id>/Strings.xml
- the output path must be a directory in this case.