Conceptual
Login

Translating Django Templates and Code with gettext and blocktranslate

Django marks text for translation with gettext_lazy in Python and {% blocktranslate %} in templates. A translator fills in a .po file per language, and Django shows the right one for each visitor.