From: Junio C Hamano Date: Sun, 19 Sep 2021 07:08:06 GMT Subject: Re: LANGUAGE instead of LANG respected in git? Message-ID: In-Reply-To: <8ed06f91-2efc-1816-aa82-beac8e174549@gmail.com> Bagas Sanjaya writes: > Supposed that I would like to display `git help` in French > (`fr_FR.UTF-8`) language. I ran `LANGUAGE="fr_FR.UTF-8" git help`, and > indeed the help is displayed in French. But when I instead ran > `LANG="fr_FR.UTF-8" git help`, the help is in English instead of > French. > > It seems like Git use LANGUAGE to display localized messages instead > of LANG (like many other tools do). Why? That's not Git but your system, most likely GNU gettext, is doing. Learn to use your search engine before asking questions here. https://bfy.tw/Rg6H which will eventually take you to https://superuser.com/a/392466