I have created a localized fr_FR_Locale.mo files from fr_FR.po.
I have used sgettext, msginit and msgfmt command from terminal.
I have changed my local to french(fr_FR.utf8).
But when i execute my code i am not getting what i am expecting. Here is my call:
setlocale(LC_ALL,"");
bindtextdomain("locale",LC_INTL);
bind_textdomain_codeset("locale", "UTF-8");
textdomain("locale");
printf(gettext("Hello world!"));
Here the output should be some thing non english, but i am getting same English words.