Hi, everyone.
I'm trying to use gettext in complicate application. It consists of C++ code wrapped in python interface via sip. Is it possible to bind textdomain once in python code, and don't use this function in C++ code?
Now I have to use this function twice like is shown below.
python main:
import gettext
gettext.bindtextdomain(DOMAIN, LOCALEDIR)
gettext.textdomain(DOMAIN)
and wrapped C++ code:
#include <libintl.h>
bindtextdomain (DOMAIN, LOCALEDIR);
textdomain (DOMAIN);
Excuse me for my english.