Skip to content

Commit 769b523

Browse files
2br-2bdangillet
authored andcommitted
Add en_GB and en_US
Fixes python-humanize#210
1 parent c5dcf10 commit 769b523

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: src/humanize/i18n.py

+3
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ def activate(locale: str, path: str | None = None) -> gettext_module.NullTransla
6363
Raises:
6464
Exception: If humanize cannot find the locale folder.
6565
"""
66+
if locale == "en_GB" or locale == "en_US":
67+
locale = None
68+
6669
if path is None:
6770
path = _get_default_locale_path()
6871

0 commit comments

Comments
 (0)