diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a97210ba1..423f8214d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -67,6 +67,10 @@ jobs: run: | python manage.py collectstatic python manage.py compress + - name: 🚧 compile translations + run: | + sudo apt-get install -y gettext + python manage.py compilemessages - name: 🚧 Check pending migrations run: python manage.py makemigrations --check --dry-run --noinput - name: 🚧 Configure bucket diff --git a/.gitignore b/.gitignore index d7e1e1605..8c9ec3308 100644 --- a/.gitignore +++ b/.gitignore @@ -13,6 +13,9 @@ ENV/ # Django stuff: *.log +# Compiled translations +*.mo + # Clever Cloud .clever.json diff --git a/clevercloud/python.json b/clevercloud/python.json index 0cc336bf8..87e97621e 100644 --- a/clevercloud/python.json +++ b/clevercloud/python.json @@ -7,6 +7,7 @@ "managetasks": [ "migrate --no-input", "collectstatic --no-input", + "compilemessages", "compress" ] } diff --git a/locale/fr/LC_MESSAGES/django.mo b/locale/fr/LC_MESSAGES/django.mo deleted file mode 100644 index e159333a8..000000000 Binary files a/locale/fr/LC_MESSAGES/django.mo and /dev/null differ