Hi all.
The trouble: in plugin manager plugin name (and also its description) is not localized until plugin is activated. The cause (probably): main_locale_init(LOCALEDIR, GETTEXT_PACKAGE) is called only in plugin_init(), and plugin_set_info() is obviously called before that.
I discovered that when using geany-plugins and Russian localization. I looked for any mentions of this problem in bug tracker and mailing list, but did not find anything.
This does not happen with plugins supplied with Geany (i.e., shift column plugin). I think, the reason is that their GETTEXT_PACKAGE is the same as the one of geany itself, and geany performs necessary gettext initialization in its main().
I see two ways to fix this problem. The first way is very ugly and limitating: just call main_locale_init() from plugin_set_info(), and recompile all plugins. The second way is to add new function to be implemented in plugins (say, "plugin_loaded") and call that before anything else (particularly, before plugin_set_info()).
So, the question is how to solve this problem.
Best regards, Eugene.