1
0
mirror of https://github.com/tiyn/beaker-blog.git synced 2025-10-10 09:51:17 +02:00

added language support for german

This commit is contained in:
2024-04-14 01:58:29 +02:00
parent 1ac2ba220a
commit 98249bbbd9
10 changed files with 161 additions and 142 deletions

View File

@@ -8,6 +8,16 @@ WORKDIR /blog
RUN pip3 install -r requirements.txt
RUN apt-get update && \
apt-get install -y locales && \
sed -i -e 's/# de_DE.UTF-8 UTF-8/de_DE.UTF-8 UTF-8/' /etc/locale.gen && \
sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \
dpkg-reconfigure --frontend=noninteractive locales
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
VOLUME /blog/templates/entry
VOLUME /blog/static/graphics