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: omid -
Subject: Re: [bug-gettext] Using gettext in ZNC
Date: Mon, 15 Apr 2013 09:08:10 +0430

Thanks for your reply.
Well I set the language in setlocale (LC_ALL, "de_DE") So I dont think that LANGUAGE var is the problem.
This is a large program with lots of files, I don't know which part of it you need.
I'm still trying to fix this problem and I can't succeed.



On Mon, Apr 15, 2013 at 7:50 AM, Daiki Ueno <address@hidden> wrote:
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]