Version: (using Devel) Installed from: Compiled sources scangui does not load any translation catalog beside the system catalogs. To be fully translated it needs to load the catalogs libksane, sane-backends and kipiplugin_acquireimages as the kipi plugin acquireimages does.
No. catalogs are loaded by libksane. scangui use it internally. Look there : http://lxr.kde.org/source/KDE/kdegraphics/libs/libksane/libksane/ksane_widget.cpp#88 Gilles Caulier
You are right, it loads libksane and sane-backends via ksane_widget.cpp, sorry for the false alarm. But what is really missing are the messages in kipi-plugins/acquireimages (catalog name is kipiplugin_acquireimages). scangui tries to load the non existing catalog "scangui" instead, via the appname "scangui"?
SVN commit 1131128 by cgilles: set main catalog from acuireimages kipi-plugins CCBUGS: 238150 M +2 -0 scangui.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1131128
Burkhard, It must be fixed now in svn. Please checkout and test Gilles
Please do not use setMainCatalog() in plugins, but insertCatalog(), otherwise it will create problems to the host application loading such plugins.
Pino, scangui is a stand alone version of the plugin. the main.cpp is not included in plugin code. it's completely separated. Gilles
Ok. Note you can set the main application catalog for example by specifying it in the KAboutData of the application (second parameter of its constructor).
(In reply to comment #4) > > It must be fixed now in svn. Please checkout and test > No, that does not work, scangui is still untranslated and tries to load the catalog scangui. Only with "cp kipiplugin_acquireimages.mo scangui.mo" I have the startdialog translated. You can easily verify that bug by using language x-test (http://techbase.kde.org/Development/Tutorials/Localization/Building_KDE's_l10n_Module#Step_2:_l10n), developed by Coolo for this purpose.
SVN commit 1131425 by lueck: load translation catalog properly BUG:238150 M +1 -2 scangui.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1131425