Last active
December 31, 2015 09:29
-
-
Save shirlston/7967146 to your computer and use it in GitHub Desktop.
Automate i18n translation rake tasks for Mobi.
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
#!/bin/bash | |
# i18n.sh | |
# Automate rake translations | |
# syntax: | |
# i18n.sh <path> | |
langs=(zh-TW nl fr de it pt es el tr) | |
for lang in "${langs[@]}" | |
do | |
bundle exec rake translate:dictionary["${lang}","$1"] | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment