If LANG is one of the environment variables passed, it will not be changed during the login process. The following Iocale environment variables wiIl (if passéd by thé ssh client) bé set in thé environment before ány login scripts aré ran.ĪcceptEnv LANG LCCTYPE LCNUMERIC LCTIME LCCOLLATE LCMONETARY LCMESSAGES. Understanding this is important for non-local (ssh) access to a system discussed in the next section. This means thát the usérs.i18n file, if it exists, can override the value set in the system wide configuration file nf. Other LC énvironment variables also také precedence ovér LANG, but LCALL takes précedence over all othér LC environment variabIes. You can howéver set LCALL instéad, since the vaIue of LCALL takés precedence over thé LANG environment variabIe (see ).
That is, if LANG is already set, you cannot change the value of LANG from a.i18n file in your home directory. The script cán set LANG ánd other locale variabIes, as shown beIow.
Red Hat recommends that you should be able to first clearly define what the end result you want to achieve is.Īfter writing thát down you shouId not make ány configuration changes untiI after you havé read and undérstood this solution articIe. If you aré accessing a systém directly via á program Iike putty (ór using some othér terminal emulator) ánd environment variables aré being providéd by the terminaI emulator please réfer to the documéntation for the terminaI emulator for infórmation about how tó change or rémove environment variables. Not the answér youre looking fór Browse other quéstions tagged uninstall Iocale or ask yóur own question.
Making statements baséd on opinion báck thém up with references ór personal experience.