Thread (3 messages) flat view 3 messages, 3 authors, 2016-06-15

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

From: Alex Riesen <hidden>
Date: 2016-06-15 22:52:49

On Thu, Jan 19, 2012 at 01:17, Junio C Hamano [off-list ref] 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help