Last active
August 29, 2015 14:19
-
-
Save AaronMT/e24636478a2f38376539 to your computer and use it in GitHub Desktop.
L10N pre-build script for pulling and importing strings into Firefox for iOS
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
export PATH=/usr/local/bin:$PATH | |
cd firefox-ios | |
carthage checkout --no-use-binaries | |
svn co --non-interactive --trust-server-cert https://svn.mozilla.org/projects/l10n-misc/trunk/firefox-ios ../firefox-ios-l10n | |
python scripts/xliff-cleanup.py ../firefox-ios-l10n/*/*.xliff | |
python scripts/xliff-to-strings.py ../firefox-ios-l10n . | |
python scripts/strings-import.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://pypi.python.org/pypi/lxml is a required module
pip install lxml