To enable internationalization for your project:
- Add a
use_translatekey to your configuration file - Add
default_languagekey to your configuration file with main language. For exampledefault_language="en" - Add
other_languageskey to your configuration file with the list of the other languages. For exampleother_languages=["ua", "ru"] - Mark strings for translation in your site (using
{% trans %}) - Put
{% load i18n %}at the top of template withtranstags - Run
cactus messages:make - Edit the .po file that was created with translations.
- Run
cactus buildto create multilanguage site structure