diff -Naur apprise-1.5.0/test/test_apprise_translations.py apprise-1.5.0.patched/test/test_apprise_translations.py
--- apprise-1.5.0/test/test_apprise_translations.py 2023-08-21 20:49:03.000000000 -0400
+++ apprise-1.5.0.patched/test/test_apprise_translations.py 2023-08-27 14:10:37.634744291 -0400
@@ -211,11 +211,22 @@
# This throws internally but we handle it gracefully
al = AppriseLocale.AppriseLocale()
+ with environ('LANGUAGE', 'LC_ALL', 'LC_CTYPE', 'LANG'):
+ # English is the default/fallback type
+ assert al.add('en') is True
- assert al.add('en') is True
+ al = AppriseLocale.AppriseLocale()
+ with environ('LANGUAGE', 'LC_ALL', 'LC_CTYPE', LANG='C.UTF-8'):
+ # Test English Environment
+ assert al.add('en') is True
+
+ al = AppriseLocale.AppriseLocale()
+ with environ('LANGUAGE', 'LC_ALL', 'LC_CTYPE', LANG='en_CA.UTF-8'):
+ # Test English Environment
+ assert al.add('en') is True
- # Double add (copy of above) to access logic that prevents adding it again
- assert al.add('en') is True
+ # Double add (copy of above) to access logic that prevents adding it again
+ assert al.add('en') is True
# Invalid Language
assert al.add('bad') is False