On Sat, 2007-11-10 at 23:23 +0000, Carlo Baldassi wrote:
> > > In fact, the call to gimp_domain_register() was already present in
> > > gimp-plugin-template:
> > >
> > > gimp_plugin_domain_register (PROCEDURE_NAME, LOCALEDIR);
> > >
> > > It returns success, but the menu entry is not translated.
> > > I couldn't find any help from other plugins' sources because they
> > > don't register this way.
> > Does LOCALEDIR have the correct value? Are the translations actually
> > installed in the folder that it points to?
> Yes, I checked it directly. Everything else is localized, it's just
> the menu entry.
> In fact, the i18n initialization function uses the same location:
> bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
I checked again and it is the other parameter which is wrong:
gimp_plugin_domain_register (PROCEDURE_NAME, LOCALEDIR);
This should be:
gimp_plugin_domain_register (GETTEXT_PACKAGE, LOCALEDIR);
If this is wrong in the plug-in template, then we should fix this and
release an updated version as soon as possible.
Gimp-developer mailing list