I need in an own system plugin some language values from a sys.ini language file.

I could only found this way to load the normal .ini file:

$language = JFactory::getLanguage();
$language->load('com_yourcomponentname', JPATH_ADMINISTRATOR);
  • Okay i have get it: $language->load('com_yourcomponentname.sys', JPATH_ADMINISTRATOR);
    – mikael
    Dec 10 '16 at 23:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.