From fadaad8ad922907a1aa8f93b2c40b96ccb3cfcbb Mon Sep 17 00:00:00 2001 From: benoit74 Date: Wed, 10 Jul 2024 14:45:06 +0000 Subject: [PATCH] Enhance README regarding locale usage --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 69b7b4e1..903829c8 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,7 @@ zimscraperlib>=1.1,<1.2 * Pillow * FFmpeg * gifsicle (>=1.92) +* locale (with at least `fr_FR.UTF-8` and `pt_BR.utf8` locales installed for tests to pass) ## macOS @@ -51,7 +52,7 @@ sudo apt install libmagic1 wget ffmpeg \ apk add ffmpeg gifsicle libmagic wget libjpeg ``` -**Nota:** i18n features do not work on Alpine, see https://github.com/openzim/python-scraperlib/issues/134 ; there is one corresponding test which is failing. +**Nota:** Alpine does not have `locale` support, so i18n features do not work on Alpine, see https://github.com/openzim/python-scraperlib/issues/134 ; there is one corresponding test which is failing. # Contribution