I have a 3rd-part CB plugin, which creates a tab in profile view.
The plugin uses some it's lanuguage variables, like "_UE_ADVERTISERTAB", which are not present in core language. What is the way to add language file for the plugin?
No I just add my language strings to
com_comprofiler/plugin/language/default_language/default_language.php
But I want the plugin to be installable without touching any core files.
I can't fine any documentation.
Agora tab plugin copies it's en-GB.plg_cbagora_plus.ini lang file to joomla language folder and then loads it:
$lang = JFactory::getLanguage();
$lang->load('plg_cbagora_plus');
Is this the only way?