All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bagas Sanjaya <bagasdotme@gmail.com>
To: Git Users <git@vger.kernel.org>
Subject: LANGUAGE instead of LANG respected in git?
Date: Sun, 19 Sep 2021 12:04:04 +0700	[thread overview]
Message-ID: <8ed06f91-2efc-1816-aa82-beac8e174549@gmail.com> (raw)

Hi,

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?

-- 
An old man doll... just what I always wanted! - Clara

             reply	other threads:[~2021-09-19  5:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-19  5:04 Bagas Sanjaya [this message]
2021-09-19  7:08 ` LANGUAGE instead of LANG respected in git? Junio C Hamano
2021-09-19  8:53 ` Sergey Organov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8ed06f91-2efc-1816-aa82-beac8e174549@gmail.com \
    --to=bagasdotme@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.