Skip to content

Instantly share code, notes, and snippets.

@Walkeryr
Last active December 30, 2015 00:19
Show Gist options
  • Save Walkeryr/7748400 to your computer and use it in GitHub Desktop.
Save Walkeryr/7748400 to your computer and use it in GitHub Desktop.
Creating localization files in Django
# 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