Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 1.31 KB

README.textile

File metadata and controls

26 lines (18 loc) · 1.31 KB

About

This project contains a converter, which can transform Java property files used for localizations into Titanium Appcelerator XML files.

This is useful, if you use other tools than a simple text editor for maintaining your localizations, for instance Pootle or Weblate.

Download

Download the latest version from https://github.com/downloads/Communote/Converter-Properties-To-Titanium-XML/converter-0.2.jar

Usage

  1. Create strings.locale files instead of strings.xml within your Titanium projects. We used locale as extension, because of some UTF-8 problems. Simple treat them as they were Java properties.
  2. Edit your localization in the strings.locale files
  3. Configure Titanium Studio to use the converter as an additional builder:
    1. Open the projects settings and navigate to builders
    2. Add a new builder “LanguageConverter” and configure it like this
      1. Location: Path to your Java executable, i.e. /usr/bin/java
      2. Working Directory: ${build_project}
      3. Arguments: “-jar /path/to/converter.jar”
      4. Optional: Configure “Build Options” for your needs, for instance to let it only run on build and clean.
    3. Move the builder to the top of the list of builders

Contact

If you still have any problems, questions, suggestions… ask here on Github or send an email to support [at] communote.com.