LiewJunTung / Android-strings-xml-csv-converter

Convert Android translatable strings.xml into csv and back
MIT License
124 stars 32 forks source link

Android String XML-CSV Converter

Build Status

Status

I have written a better library to handle conversion between CSV and XML and back using SQLite and OpenCSV. It enables users to translate even more words and less prone to errors.

What does it do?

It will convert strings.xml, arrays.xml, plurals.xml

Image of CSV

to CSV

Image of CSV

and back!

Why?

You want to translate strings, arrays, plurals in strings.xml, arrays.xml, and plurals.xml into different languages in csv so you can use as spreadsheet in Excel, Google Drive

Requirement

Java JRE 8 or Jetbrains IDE

How to use it?

  1. Download the file
  2. Unzip or untar the file
  3. Open groovy-app/bin/groovy-app (groovy-app.bat if you are on Windows)
  4. From here, with the GUI onwards it's pretty self explanatory. Select Android folder for the value and the location of your saved csv.

Image of CSV

OR

Download and install the IntelliJ or Android Studio Plugin from the jetbrains repository or here

TODO