Hi,
> > In fact, the call to gimp_domain_register() was already present in the
> > 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
> >
> > 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
_______________________________________________ Gimp-developer mailing list Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer