From ebfe2255a3e977ccfe9a7a3292e8e92986af0a26 Mon Sep 17 00:00:00 2001 From: Dominik George <dominik.george@teckids.org> Date: Sun, 20 Mar 2022 11:39:08 +0100 Subject: [PATCH] Add hint on system locales and install locales-all in bsae image --- CHANGELOG.rst | 2 ++ Dockerfile | 1 + docs/admin/10_install.rst | 4 +++- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 8fd41940e..69fbdedcd 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -14,6 +14,8 @@ Fixed * The menu button used to be displayed twice on smaller screens. * The icons were loaded from external servers instead from local server. +* Weekdays were not translated if system locales were missing + * Added locales-all to base image and note to docs Changed ~~~~~~~ diff --git a/Dockerfile b/Dockerfile index acb08f98f..4864ac546 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,6 +36,7 @@ RUN apt-get -y update && \ less \ libpq-dev \ libssl-dev \ + locales-all \ postgresql-client-14 \ pspg \ python3-dev \ diff --git a/docs/admin/10_install.rst b/docs/admin/10_install.rst index d41bd44e5..f8b41d0d9 100644 --- a/docs/admin/10_install.rst +++ b/docs/admin/10_install.rst @@ -34,6 +34,7 @@ For an installation on a dedicated server, the following prerequisites are neede * nginx * Python 3.9 * Some system dependencies to build Python modules and manage frontend files + * System locales for all supported languages * The aforementioned paths Install system packages @@ -53,7 +54,8 @@ Install some packages from the Debian package system. python3-virtualenv \ chromium \ redis-server \ - postgresql + postgresql \ + locales-all Create PostgreSQL user and database ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- GitLab