diff --git a/doc/contributing.rst b/doc/contributing.rst index 490f897b9..3233b627b 100644 --- a/doc/contributing.rst +++ b/doc/contributing.rst @@ -17,7 +17,8 @@ Table of contents ================= .. toctree:: - :maxdepth: 1 + :maxdepth: 1 contributing/getting_started contributing/plugin_api + contributing/translation diff --git a/doc/contributing/getting_started.rst b/doc/contributing/getting_started.rst index d286a4a0d..84e5f9b70 100644 --- a/doc/contributing/getting_started.rst +++ b/doc/contributing/getting_started.rst @@ -88,6 +88,9 @@ If you want to add a new dependency, just complete the It will download and store the required files into the :file:`/modoboa/bower_components` directory. +.. note:: + Don't forget to regenerate the localization files when you add strings. See :ref:`the translation page ` + New Vue.js interface -------------------- diff --git a/doc/contributing/translation.rst b/doc/contributing/translation.rst new file mode 100644 index 000000000..ea5a9421a --- /dev/null +++ b/doc/contributing/translation.rst @@ -0,0 +1,18 @@ +########### +Translation +########### + +Modoboa needs you to translate the project ! Feel free to join the translation team. + +The project is using Transifex. To start with translation, you will need to create an account and join `modoboa's team `_ + +.. _translation: + +Frontend +======== + +When editing the frontend, you may need to update localization files for transifex to pick up your changes. + +To do so, after finishing editing, go to the frontend directory and run the following command:: + + $ make makemessages