From a6dfcbde4ca8419fa0c3c6a6197320f16d01ebe0 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Fri, 1 Nov 2024 09:08:59 +0100 Subject: [PATCH] fix: support for unknown language --- src/rougail/i18n.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rougail/i18n.py b/src/rougail/i18n.py index 252485a04..f94076230 100644 --- a/src/rougail/i18n.py +++ b/src/rougail/i18n.py @@ -27,6 +27,6 @@ along with this program. If not, see . from gettext import translation from pathlib import Path -t = translation('rougail', str(Path(__file__).parent / 'locale')) +t = translation('rougail', str(Path(__file__).parent / 'locale'), fallback=True) _ = t.gettext