Created
January 29, 2014 04:02
-
-
Save agborkowski/8681614 to your computer and use it in GitHub Desktop.
#ci #li3 #g11n #internationalization app done !
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
#/project/migrations/update.sh | |
# Search msgid in entire project and export to template | |
# 1) execute algoritm delivered by framework | |
cd ../app && li3 g11n extract & sleep 2 && echo & sleep 2 && echo & sleep 2 && echo & sleep 2 && echo & sleep 2 && echo & sleep 2 && echo && sleep 2 && echo && sleep2 | |
echo '# Sync msgid with msgid template :' | |
echo '# 1) check exists msgid' | |
echo '# 2) if not exists create new' | |
echo '# 3) find similars msgid' | |
echo '# 4) mark rest as unused' | |
php -f sync_pot_msgid.php | |
echo '# Sync msgid with msgstr in all languages' | |
php -f sync_msgid_msgstr.php | |
echo '#php -f fix_msgid.php - disabled' | |
echo '# Gooogle translations' | |
php -f get_translations_google.php | |
echo '# Generate new translations' | |
php -f generate.php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment