git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Has anyone looked at Gettext support for Git itself?

From
Will Palmer <wmpalmer@gmail.com>
Date
May 17, 2010, 18:56 UTC
Message-ID
<1274122619.4780.36.camel@dreddbeard>
In-Reply-To
<20100517175939.GA3575@efreet.light.src>
On Mon, 2010-05-17 at 19:59 +0200, Jan Hudec wrote:
Show 9 quoted lines
> On Mon, May 17, 2010 at 17:12:22 +0200, Thomas Rast wrote:
> > Ævar Arnfjörð Bjarmason wrote:
> > > On Mon, May 17, 2010 at 14:32, Thomas Rast <trast@student.ethz.ch> wrote:
> > > > Ævar Arnfjörð Bjarmason wrote:
> 
> There are cases though, where somebody calls *porcelain* commands in their
> scripts and there they occasionally may need this LC_ALL=C thing. I suppose
> having a global option to turn off localization might be useful for such
> users.

Would it be that bad to define something like GIT_PLUMBING=1 to mean "I am using this as plumbing"? It seems that this is the way things are headed with --porcelain, even if the name is backwards.

I agree that error messages should be localised either way- if you're trying to parse an error message, something's always gone wrong.

Does anyone know how large of a non-english-speaking community git currently has? Would this effort include adding localised git command names or arguments?

It may also be worth mentioning that a git "commit", for example, doesn't have anything (other than historical reasons) to do with the English word "commit". A git commit is a git commit, and perhaps such conceptual terms should best be left untranslated anyway. It would certainly make it easier to answer questions in #git if people continued to use the same terms everywhere. Just as a weak anecdotal argument, when someone uses the term "revision" in #git, there's generally a lack of understanding about what a "commit" is. "commit" means something very specific in git, and I would hesitate to try to translate that into another language as if it's just a synonym for "revision" or "checkpoint", or "transaction", etc

-- 
-- Will
Previous: Jan HudecNext: Michael J Gruber
Message 12 of 20 in “Has anyone looked at Gettext support for Git itself?”
  1. Ævar Arnfjörð BjarmasonMay 15, 2010
  2. Jakub NarebskiMay 16, 2010
  3. Ævar Arnfjörð BjarmasonMay 16, 2010
  4. Dmitry PotapovMay 16, 2010
  5. Ævar Arnfjörð BjarmasonMay 16, 2010
  6. Jan HudecMay 16, 2010
  7. Ævar Arnfjörð BjarmasonMay 16, 2010
  8. Thomas RastMay 17, 2010
  9. Ævar Arnfjörð BjarmasonMay 17, 2010
  10. Thomas RastMay 17, 2010
  11. Jan HudecMay 17, 2010
  12. Will PalmerMay 17, 2010
  13. Michael J GruberMay 18, 2010
  14. Thomas SingerMay 18, 2010
  15. Will PalmerMay 18, 2010
  16. Jan HudecMay 22, 2010
  17. demerphqMay 19, 2010
  18. Thomas SingerMay 16, 2010
  19. Marc WeberMay 17, 2010
  20. Peter KreftingMay 18, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.