From 99ebff3bd6732db3f88af4c05f22e99be5d76fa6 Mon Sep 17 00:00:00 2001 From: John Wuller <847785bd-d466-47cd-a536-eae4096d241d@anonaddy.me> Date: Sat, 14 Dec 2024 07:24:40 -0500 Subject: [PATCH] Add en_GB and en_US Fixes #210 --- src/humanize/i18n.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/humanize/i18n.py b/src/humanize/i18n.py index 42447b0..e5c9e52 100644 --- a/src/humanize/i18n.py +++ b/src/humanize/i18n.py @@ -71,6 +71,9 @@ def activate( Raises: Exception: If humanize cannot find the locale folder. """ + if locale == "en_GB" or locale == "en_US": + locale = None + if path is None: path = _get_default_locale_path()