Skip to content

Instantly share code, notes, and snippets.

@maxpeterson
Created January 28, 2019 16:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maxpeterson/21657ebd384d048b7e2cfe0b6cb3b0fb to your computer and use it in GitHub Desktop.
Save maxpeterson/21657ebd384d048b7e2cfe0b6cb3b0fb to your computer and use it in GitHub Desktop.
python manage.py makemessages --locale=en --no-wrap --ignore='ght' --ignore='locale' --ignore='config' --ignore='working_groups' --ignore='articles' --ignore='node_modules' --ignore='content' --ignore='blog' --ignore='search' --ignore='site_finder' --ignore='_latest' --ignore='users' --ignore='avatar' --ignore='drug_development_process_map' --ignore='site_templates' --ignore='countries' --ignore='apps' --ignore='ght_site' --ignore='process_map' &&\
python fake_translate.py locale/en/LC_MESSAGES/django.po locale/fr/LC_MESSAGES/django.po &&\
python manage.py compilemessages --locale=fr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment