Re: [PATCH/RFC 05/17] gettext: make the simple parts of git-init localizable
Ævar Arnfjörð Bjarmason wrote:
> On Tue, Aug 31, 2010 at 15:44, Jonathan Nieder <jrnieder@gmail.com> wrote:
Show 19 quoted lines
>> 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");