iVoider

iVoider / AndroidLocalizer / 0.4.0

README.md

Overview

This API is intended for an easy automatic localization of Android app strings.xml file. Just copy-paste xml code from strings.xml in main res/values/ folder(could be any language) and recieve .zip with translated values for all languages below:

Current supported locales:

  • af
  • bg
  • ca
  • zh
  • hr
  • cs
  • da
  • nl
  • et
  • fil
  • fi
  • fr
  • de
  • el
  • hi
  • hu
  • in
  • it
  • ja
  • ko
  • lv
  • lt
  • ms
  • nb
  • pl
  • pt
  • ro
  • ru
  • sr
  • sk
  • sl
  • es
  • sv
  • th
  • tr
  • uk
  • vi

Attention! No support for string-array yet.

Usage

Input

Ensure that yours .xml is valid, has no errors and well-formatted before loading.

e.g.

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <string name="some">Hello!</string>
    <string name="example">This is an example how yours great app</string>
    <string name="translate">can be localized</string>
    <string name="some_api_key" translatable="false">And this one not gonna be translated</string>
</resources>

Output

Link for a .zip file(if you are lazy bone and don't wanna handle output yourself, check it in the Data page of this algorithm in your profile).