Created
January 19, 2015 19:10
-
-
Save breard-r/71b667f798112b53693c to your computer and use it in GitHub Desktop.
Inline locale generation for a Django project
This file contains hidden or 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
| for dir in $(find ./ -maxdepth 1 -mindepth 1 -type d -not -path '*/\.*'); do if [ -d "$dir/locale" ]; then cd "$dir"; django-admin.py compilemessages; cd ..; fi; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment