[Gimp-developer] problem (solved?) in gimp-plugin-template

Carlo Baldassi carlobaldassi at yahoo.it
Sat Nov 10 15:23:46 PST 2007


Hi,

> > In fact, the call to gimp_domain_register() was already present in
 the
> > 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);

> > Another problem I found is that the GIMP helpbrowser doesn't read the
> > help files correctly
> > it seems that I need to register a title somehow
> 
> Your HTML help page needs to have a title, that's all.

The HTML page does have a title:

    <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
    <html>
    <head>
      <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
      <title>Help Page for gimp-plugin-template</title>
    </head>

I have also tried to use one of the help pages from a standard plugin, as it was, just to test if I was
missing some tag: same error.

Carlo





      ___________________________________ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /lists/gimp-developer/attachments/20071110/add9dea1/attachment.html 


More information about the Gimp-developer mailing list