Translating error messages in Git (was: Re: [PATCH v3] git checkout: create unparented branch by --orphan)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Erick Mattos <erick.mattos@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]