CSV to Localization Converter



Convert CSV formatted text translation strings into Android or iOS compatible formats.

Upload size limit: 500kB; Timeout limit: 5 sec; Process limit: 5 simultaneous requests.


Download

csv2i18n.jvm.jar

Source code

Repository @ GitHub

Notes

Requirements

Usage

java -jar csv2i18n.jar --input [CSV_PATH] > [OUTPUT]

Options

-i, --input [CSV_PATH] - Path of CSV file to be parsed

Example

With following string input:

xx,en,hr k1,e1,h1 k2,e2,h2

Along with following command:

java -jar csv2i18n.jar --input "./input.csv" > "./output.zip"

You should get a ZIP file containing following files:

<?xml version="1.0" encoding="utf-8"?>
<resources> <string name="k1">e1</string> <string name="k2">e2</string> </resources>
<?xml version="1.0" encoding="utf-8"?>
<resources> <string name="k1">h1</string> <string name="k2">h2</string> </resources>
"k1" = "e1"; "k2" = "e2";
"k1" = "h1"; "k2" = "h2";

License

This program is licensed under AGPL-3.0-only.