From: Alex Riesen Date: Wed, 18 Jan 2012 18:57:18 GMT Subject: Re: [PATCH] i18n: disable i18n for shell scripts if NO_GETTEXT defined Message-ID: In-Reply-To: On Wed, Jan 18, 2012 at 16:22, Ævar Arnfjörð Bjarmason wrote: > On Tue, Jan 17, 2012 at 14:42, Alex Riesen wrote: >> 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.