Skip to content

LiewJunTung/Android-strings-xml-csv-converter

Repository files navigation

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

  • Ability to convert arrays and plurals
  • IntelliJ and Android Studio plugin
  • Enable the application to run in Java version less than 8
  • Added support for commas
  • Clean up the (very ugly) codes (in progress)
  • Google Sheets Integration

About

Convert Android translatable strings.xml into csv and back

Resources

License

Stars

Watchers

Forks

Packages

No packages published