From fbcdf83a0e41294c482bd19d1994bb6372b0c218 Mon Sep 17 00:00:00 2001 From: Tor-Einar Skog <tor-einar.skog@nibio.no> Date: Wed, 20 Dec 2023 12:04:08 +0100 Subject: [PATCH] Update pipeline docs about translations --- docs/install.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/install.md b/docs/install.md index 029d6d50..cd7afa1e 100644 --- a/docs/install.md +++ b/docs/install.md @@ -73,4 +73,14 @@ Each installation of VIPSWeb can be customized in several ways This is done by making a copy of `local_settings_sample.py` to `local_settings.py` and customizing it. `local_settings.py` is ignored by Git. ## Configuration of VIPSLogic -TODO \ No newline at end of file +TODO + +## Deployment of updates (AKA pipeline) +### Updating translations +VIPSWeb/Django is using the GNU gettext system for translating phrases. In the git repository, the sourece `.po` files are updated, but the compiled `.mo` files are ignored. Thus, if an update of VIPSWeb contains new or updated translated texts/phrases, you need to compile them using the command + +```bash +$ django-admin compilemessages +``` + +This requires that you have [GNU gettext](https://www.gnu.org/software/gettext/) installed on your server. \ No newline at end of file -- GitLab