Skip to content

Instantly share code, notes, and snippets.

@samueleastdev
Last active September 22, 2016 17:45
Show Gist options
  • Save samueleastdev/445668c987967a01d89faade05a288a4 to your computer and use it in GitHub Desktop.
Save samueleastdev/445668c987967a01d89faade05a288a4 to your computer and use it in GitHub Desktop.
Converting Appcelerator language xml file to Pot file and then translate using poedit
// install poedit https://poedit.net/
// install itstool
brew install itstool
// go into your language folder
cd /Users/username/Documents/Appcelerator_Studio_Workspace/app/app/i18n/en
// convert all & signs to & throughout your string.xml file else it fails
// run the cmd
itstool -o mydoc.pot strings.xml
// Drag the pot file into the editor and convert the file
// Compile to mo
// build the new translated xml
mkdir de && itstool -m de.mo -o de/ strings.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment