Oliver thanks, but no luck here. I had the following statement earlier
JPlugin::loadLanguage('plg_k2_k2fields', JPATH_ADMINISTRATOR);
in the constructor of the plugin class, which can also be written as $this->loadLanguage(); which all amounts to what you gave above. But it doesn't work, and I can't figure it out.
Olivier Nolbert said:Hi Gobezu,
I've added these lines in one of my K2 plugins to have 'myComponent' language file loaded :
$lang = JFactory::getLanguage();
$lang->load('com_myComponent');
Hope it'll help you
Olivier