Thread (7 messages) flat view 7 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 Wed, Jan 18, 2012 at 16:22, Ævar Arnfjörð Bjarmason [off-list ref] wrote:
On Tue, Jan 17, 2012 at 14:42, Alex Riesen [off-list ref] wrote:
quoted
Otherwise the i18n is used in the scripts even with NO_GETTEXT set.
It is very unexpected.
So the reason it's like that is that I was assuming that gettext.sh
wouldn't be FUBAR anywhere, but the translations shouldn't kick in
since we haven't installed them during "make install".

But I wonder if this negatively affects some systems, now we now:

 * Don't use gettext.sh, which means that we're using our fallback
  shell function instead of the binary gettext(1), which is probably
  faster.

 * Use our own eval_gettext() instead of using the system one, which
  uses the GNU binary which is more likely to be in the FS cache
  already since other programs are probably using it.

Which is why I didn't do something like this to begin with.
Well, if I say NO_GETTEXT, I kind of want none of local gettext,
whether it works, or not.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help