Last active
September 22, 2016 17:45
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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