Skip to content

Commit

Permalink
Extract i18n strings from .tpl files as well
Browse files Browse the repository at this point in the history
These are used e.g. for email reminders and are not .html so they need to be
specified explicitly.

Fixes #179
  • Loading branch information
rolandgeider committed Jan 7, 2016
1 parent 43c7f8a commit d6d9f16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/i18n.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ wger uses django's translation infrastructure, but there are a couple of things
that need to be considered. First, update your po files with the usual django
command (run this in the wger subfolder, not the root one)::

django-admin makemessages --locale en
django-admin makemessages --locale en --extension html,tpl

Extract some translatable strings from the database such as exercise categories
and muscle names::
Expand Down

0 comments on commit d6d9f16

Please sign in to comment.