Skip to content

Instantly share code, notes, and snippets.

@AaronMT
Last active August 29, 2015 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AaronMT/e24636478a2f38376539 to your computer and use it in GitHub Desktop.
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
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
@AaronMT
Copy link
Author

AaronMT commented Apr 14, 2015

https://pypi.python.org/pypi/lxml is a required module

pip install lxml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment