GTK applications behave weird if locale is set to anything other than "C"

Yves de Champlain yves at
Fri Mar 16 08:54:42 PDT 2007

Le 07-03-15 à 18:52, petr.snyder at a écrit :

> Hi,
> @Yves
> I've never seen the Gtk-Warning below, though I am using  
> "de_DE.UTF-8". My open file dialog of Gnucash also shows everything  
> in alphabetical order. Something else must be wrong.

You will see it when launching an app from an xterm

> @Rolf, as you are using an Intel-Mac and I am sitting on a PowerPC:  
> What's in your /usr/share/locale/ ?  That seems to be the place  
> where GTK-apps get their localization stuff (I was able to fix  
> Gnucash's missing EURO-Sign (€) by editing /usr/share/locale/ 
> de_DE.UTF-8/LC_MONETARY. ) . What happens if you type "locale" and  
> "locale -a" in a terminal?

I'm on PPC too.

> @all If GTK-apps read their language specific settings from usr/ 
> share/locale, what is /opt/local/share/locale used for ????

the locale tool is not provided by macports.  But MacPorts apps will  
fetch their localized text in /opt/local/share/locale


> ----- Original Message ----
> From: Yves de Champlain <yves at>
> To: Rolf Schäuble <mailinglists at>
> Cc: macports-users at
> Sent: Thursday, 15 March, 2007 10:27:14 PM
> Subject: Re: GTK applications behave weird if locale is set to  
> anything other than "C"
> [ ... ]
> Hi
> first of all, any gtk app will kindly tell you that :
> Gtk-WARNING **: Locale not supported by C library.
>          Using the fallback C locale.
> And the only way of dealing with many problems is indeed to avoid
> localisation.
> But I do use LANG=fr and nothing else (no _CA, no LC_ALL) and many
> things do work quite fine, including gimp.
> yves

More information about the macports-users mailing list