GNOME Bugzilla – Bug 136996
Add i18n support to help system
Last modified: 2004-12-22 21:47:04 UTC
The current help system doesn't provide any means to access translated help pages. When we designed this, we didn't expect such help to be written before GIMP-2.2 but now there is such content and it should be accessible. I've outlined a possible solution in a couple of mails to the list. The changes are rather small and could be implemented in a few hours. Would be nice to get this into 2.0.
Fixed in CVS: 2004-03-18 Sven Neumann <sven@gimp.org> * app/widgets/gimphelp.c: disabled debug output. * plug-ins/help/domain.[ch] * plug-ins/help/help.[ch] * plug-ins/help/locales.c: improved error reporting, fixed bugs and disabled debug output. 2004-03-18 Sven Neumann <sven@gimp.org> Added support for localized help (bug #136996). Will need some minor touches to improve error reporting but basically it works. * plug-ins/help/Makefile.am * plug-ins/help/help.h: new file with common defines. * plug-ins/help/help.c * plug-ins/help/locales.c: include help.h, made debugging output optional. * plug-ins/help/domain.[ch]: added a hash table with locales for each help domain. 2004-03-18 Sven Neumann <sven@gimp.org> * plug-ins/help/Makefile.am * plug-ins/help/locales.[ch]: new files with code to handle locales. * plug-ins/help/help.c: changed accordingly. * plug-ins/help/domain.[ch]: added support for a fallback URL to handle missing help content. I18n support is missing still.