diff --git a/Dockerfile b/Dockerfile index 626759cb..6641b947 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,6 +40,8 @@ FROM python:${PYTHON_VERSION}-slim-bookworm RUN apt-get update && apt-get install -y --no-install-recommends \ libxslt1.1 \ + # For presenting price amounts correctly in the restock/price detection overview + locales \ # For pdftohtml poppler-utils \ zlib1g \ diff --git a/changedetectionio/flask_app.py b/changedetectionio/flask_app.py index f153714f..ee2143e2 100644 --- a/changedetectionio/flask_app.py +++ b/changedetectionio/flask_app.py @@ -85,6 +85,8 @@ notification_debug_log=[] # get locale ready default_locale = locale.getdefaultlocale() +logger.info(f"System locale default is {default_locale}") + locale.setlocale(locale.LC_ALL, default_locale) watch_api = Api(app, decorators=[csrf.exempt])