[Goodies-dev] Problem with french translation and encoding

Álvaro Lopes alvieboy at alvie.com
Fri Oct 13 11:35:21 CEST 2006


Juju wrote:
> Hi,
> 
> I've recently added the French translation into the genmon-plugin,
> creating the fr.po file and adding fr to the configure.ac file.
> 
> When I install the plugin, the language is taken into account (the
> plugin name in the right click menu becomes "Moniteur Générique").
> 
> But, when I go to the configuration Menu, I see that characters like
> é, à are replaced by ?.
> 
> The fr.po file seems OK, it is encoded in UTF-8 like the others .po.
> 
> The problem doesn't come from my machine, because when I compile and
> install, for example, the battery plugin, the french special
> characters are OK.
> 
> There's probably a problem of encoding but I don't know where...
> 
> Have you got an idea ?

The genmon plugin is missing this:


xfce_textdomain(GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR, "UTF-8");

Maybe that's it. Try adding it in static void genmon_construct (XfcePanelPlugin *plugin)

> Thanks in advance,
> Juju
> _______________________________________________
> Goodies-dev mailing list
> Goodies-dev at xfce.org
> http://foo-projects.org/mailman/listinfo/goodies-dev




More information about the Goodies-dev mailing list