Localization lost in GtkBuilder interface file when using XFCE_LICENSE_*

Ali Abdallah aliov at xfce.org
Tue Oct 20 23:44:37 CEST 2009

Hi all,

Reported by Hashimoto against Parole, but i just realize that other 
packages are affected too (Terminal for example).

1) Set locale to let's say fr_FR.utf8
2) Open Terminal or Parole...
3) Open the about dialog
4) Reopen the preferences dialog (or any dialog constructed by 
GtkBuilder in the application).

Strings are displayed in English.

It took me a lot of time to figure out that the thing is XFCE_LICENSE_* 
is calling xfce_textdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR, NULL); 
but for some reason it is messing up with locale domain of the package 

Disabling the call in libxfce4util or calling xfce_textdomain 
(GETTEXT_PACKAGE, LOCALEDIR, "UTF-8"); again after closing the dialog 
fixes the problem, no idea why.

Please your comments.


(I sent the mail first to the wrong mailing list, resending to the dev one).

More information about the Xfce4-dev mailing list