translation of widget description and name not working
|Reported by:||bmb||Owned by:|
I wrote a plugin for my sites. It adds a widget. The text strings in the form() and widget() member functions of my widget class (which inherits from WP_widget) show up translated (after calling load_plugin_textdomain(), of course), but the name and description of my widget, as show up in the widget selection pool, are not translated. I thought this might have to do with my widget constructor being called as soon as the PHP parser passes it (although I don't think this is true), and the translation not called until the 'init' hook, but I tried puting my class in a function called from 'widgets_init' and it still didn't work.