bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gettext] Using gettext in ZNC


From: Daiki Ueno
Subject: Re: [bug-gettext] Using gettext in ZNC
Date: Mon, 15 Apr 2013 12:20:29 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Perhaps LANGUAGE envvar is in effect?
https://www.gnu.org/software/libc/manual/html_node/Using-gettextized-software.html#Using-gettextized-software

Anyway, please provide more precise information.  I don't think the
following code even compiles.

> I used the codes below in the source file:
> ---------
> #include "gettext.h"
> #include "locale.h"
> setlocale (LC_ALL, "de_DE");
> textdomain ("ClientCommand");
> bindtextdomain ("ClientCommand", "/home/znctest/locale");
> cout << gettext("hello, world!") << "\n";
> ---------

Regards,
-- 
Daiki Ueno



reply via email to

[Prev in Thread] Current Thread [Next in Thread]