Last active
December 30, 2015 00:19
-
-
Save Walkeryr/7748400 to your computer and use it in GitHub Desktop.
Creating localization files in Django
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
# create directory to hold translation message files | |
mkdir locale/en/LC_MESSAGES/ | |
# create messages | |
python manage.py makemessages -l en | |
# compile messages | |
python manage.py compilemessages |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment