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 <[email protected]> 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