InvenTree/docs/translate.rst
Oliver Walters b56a1ade24 Make translation compilation a separate step
- Must be run after a translation file is updated
2019-09-26 10:21:14 +10:00

624 B

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> </head>

Translations

System Message: ERROR/3 (<stdin>, line 4)

Unknown directive type "toctree".

.. toctree::
   :titlesonly:
   :maxdepth: 2
   :caption: Language Translation
   :hidden:

InvenTree supports multi-language translation using the Django Translation Framework

Translation strings are located in the InvenTree/locales/ directory, and translation files can be easily added here.

To set the default language, change the langauge setting in the config.yaml settings file.

To recompile the translation files (after adding new translation strings), run the command make translate from the root directory.

</html>