From: Jonathan Nieder Date: Tue, 31 Aug 2010 16:09:57 GMT Subject: Re: [PATCH/RFC 05/17] gettext: make the simple parts of git-init localizable Message-ID: <20100831160957.GN2315@burratino> In-Reply-To: Ævar Arnfjörð Bjarmason wrote: > On Tue, Aug 31, 2010 at 15:44, Jonathan Nieder wrote: >> int main(void) >> { >>        setlocale(LC_ALL, ""); >>        setlocale(LC_CTYPE, "C"); >>        errno = ENODEV; >>        perror("test"); >>        return 0; >> } >> $ make foo >> cc     foo.c   -o foo >> $ ./foo >> test: No such device >> $ LANG=de_DE.UTF-8 ./foo >> test: Kein passendes Ger?t gefunden > > What about with MESSAGES instead of ALL, like we're doing? > > setlocale(LC_MESSAGES, ""); > setlocale(LC_CTYPE, "C"); Same result, alas.