#1001202 about default locales LANGUAGE: set to C or unset

Package:
reprotest
Source:
reprotest
Submitter:
xiao sheng wen
Date:
2021-12-06 19:06:03 UTC
Severity:
wishlist
Tags:
#1001202#5
Date:
2021-12-06 10:22:16 UTC
From:
To:
Hi,

      I suggestion set default locales LANGUAGE to C  or unset LANGUAGE env.
At present, it set to en_US:en, this will cause some problems in no en env.

The C LANGUAGE would be the default locales when set it.
If no vary, not set LANG and LANGUAGE is also ok.


diff -u build.py atzlinux.build.py
--- build.py    2021-12-06 18:07:33.653809577 +0800
+++ atzlinux.build.py   2021-12-06 18:12:17.407143396 +0800
@@ -365,7 +365,7 @@
 # list question.
 def locales(ctx, build, vary):
     if not vary:
-        return build.add_env('LANG', 'C.UTF-8').add_env('LANGUAGE',
'en_US:en')
+        return build.add_env('LANG', 'C.UTF-8').add_env('LANGUAGE', 'C')
     else:
         # if there is an issue with this being random, we could instead select
it
         # based on a deterministic hash of the inputs

#1001202#10
Date:
2021-12-06 19:02:28 UTC
From:
To:
My understanding was that LANGUAGE, unlike LANG and LC_* is not valid as
"C", though I'm having a difficult time finding references for what are
valid settings for LANGUAGE.


live well,
  vagrant