From: Michael Tremer Date: Mon, 28 Sep 2020 17:26:26 +0000 (+0000) Subject: locale: Use LANGUAGE instead of legacy LANG X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16ac56d484becc966df8d1d00f0e24e6f47b76f9;p=collecty.git locale: Use LANGUAGE instead of legacy LANG Signed-off-by: Michael Tremer --- diff --git a/src/collecty/plugins/base.py b/src/collecty/plugins/base.py index 12e56be..5fedb85 100644 --- a/src/collecty/plugins/base.py +++ b/src/collecty/plugins/base.py @@ -40,9 +40,9 @@ class Environment(object): def __init__(self, timezone="UTC", locale="en_US.utf-8"): # Build the new environment self.new_environment = { - "LANG" : locale, - "LC_ALL" : locale, - "TZ" : timezone, + "LANGUAGE" : locale, + "LC_ALL" : locale, + "TZ" : timezone, } def __enter__(self):