Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 602 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 602 Bytes

djinn_i18n

Djinn i18n module providing overrides of djinn translations. Other than for instance Rosetta, this tool writes it's overrides to a separate .po file that resides outside of your or other people's sources, so you won't get into trouble when updating source code.

The one single .po file is written to settings.PO_OVERRIDES, or if that doesn't exist, to: settings.PROJECT_ROOT/var/locale.

Make sure to add the path to your settings.LOCALE_PATHS, like so:

LOCALE_PATHS = [PO_OVERRIDES] + LOCALE_PATHS

or:

LOCALE_PATHS = [PROJECT_ROOT + "/var/locale"] + LOCALE_PATHS