Skip to content

Instantly share code, notes, and snippets.

@dhylands
Created April 28, 2014 21:25
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 dhylands/11384517 to your computer and use it in GitHub Desktop.
Save dhylands/11384517 to your computer and use it in GitHub Desktop.
Fetch gaia-l10n repos
#!/usr/bin/python
import json
import subprocess
locales = json.load(open("/home/work/B2G-unagi/gaia/locales/languages_all.json"));
for key, val in locales.items():
cmd = ["hg", "clone", "http://hg.mozilla.org/gaia-l10n/" + key, key]
print " ".join(cmd)
output = subprocess.check_output(cmd)
print output
@dhylands
Copy link
Author

Edit line 6 to match your build tree

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