|
From: | omid - |
Subject: | Re: [bug-gettext] Using gettext in ZNC |
Date: | Mon, 15 Apr 2013 09:08:10 +0430 |
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.
Regards,
> 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";
> ---------
--
Daiki Ueno
[Prev in Thread] | Current Thread | [Next in Thread] |