Re: [PATCH] i18n: disable i18n for shell scripts if NO_GETTEXT defined

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

 



On Thu, Jan 19, 2012 at 01:17, Junio C Hamano <gitster@xxxxxxxxx> wrote:
> So we need "MY_GETTEXT_IS_BROKEN" to decline the use of system gettext
> in addition to "NO_GETTEXT" to ask Git not to translate the messages. Is
> that correct?

I think yes.

> If that is the case, should we do something like
>
>        LANG=C LC_ALL=C
>        export LANG LC_ALL
>
> in our shell scripts, when building for NO_GETTEXT target?

Just for the record: gettext here stays broken with LANG and LC_ALL set to C.
But the locale-dependent formatting in C functions will change. Wont be a
problem here, though. The named formatting is broken, too: strftime, for
instance, always formats in C locale.
--
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]