On 2021-12-06, xiao sheng wen(肖盛文) wrote: > 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.
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 > 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
signature.asc
Description: PGP signature