Adds templatetags.i18n, loaded when rendering django template
Supports `trans` and `blocktrans` tags by using the _i18n_service added to XBlock context (if found) to provide the current language's translations during template processing. Bumps version to 1.1.0
Showing
| ddt | ||
| mock | ||
| fs<2 | ||
| pycodestyle==2.3.1 |
tests/unit/data/trans_django_template.txt
0 → 100644
File added
xblockutils/templatetags/__init__.py
0 → 100644
xblockutils/templatetags/i18n.py
0 → 100644
Please
register
or
sign in
to comment