From: Jakub Narebski Date: Mon, 22 Mar 2010 16:06:41 GMT Subject: Translating error messages in Git (was: Re: [PATCH v3] git checkout: create unparented branch by --orphan) Message-ID: In-Reply-To: <55bacdd31003220714qa9fb915k9fe152019b4d88b4@mail.gmail.com> Erick Mattos writes: > After this wonderful English and modesty lessons, I started thinking: > since Git is a worldwide spread software why it is not using gettext > to have its translations? It would not be a hard job because gettext > separates the job of translation from normal work flow with just minor > changes to inline message constants. Git uses gettext, but only for gitk and git-gui. The problem is that git is written in C (which can use gettext), Perl (which can use Locale::Maketext / Locale::Maketext::Gettext), but has also some commands that are written in (POSIX) shell script. The $"..." syntax for message localization is bash-ism, and additionally it is deprecated -- Jakub Narebski Poland ShadeHawk on #git