Hello,
please use this solution,
let's say that your joomla template is called '
mytemplate'
1. Create these language files
(frontend)
JOOMLA_FOLDER/templates/mytemplate/language/en-GB/en-GB.com_flexicontent.ini
JOOMLA_FOLDER/templates/mytemplate/language/en-GB/fr-FR.com_flexicontent.ini
(backend)
JOOMLA_FOLDER/administrator/templates/mytemplate/language/en-GB/en-GB.com_flexicontent.ini
JOOMLA_FOLDER/administrator/templates/mytemplate/language/en-GB/fr-FR.com_flexicontent.ini
2. Add this code (this change will be included in v2.0.3 final)
Code:
$templateDir = JURI::base() . 'templates/' . JFactory::getApplication()->getTemplate();
JFactory::getLanguage()->load('com_flexicontent', $templateDir, 'en-GB', true);
JFactory::getLanguage()->load('com_flexicontent', $templateDir, null, true);
(frontend)
add the above code to file
components/com_flexicontent/flexicontent.php
just before:
Code:
// Perform the Request task
$controller->execute($task);
(backend)
add the above code to file
administrator/components/com_flexicontent/admin.flexicontent.php
just before:
Code:
// Perform the requested task
$controller->execute( JRequest::getCmd('task') );
NOTE 1: I did not test yet it should work (also test backend), please test and report back
NOTE 2: For adding language files overrides for any extension please read this:
www.yireo.com/tutorials/joomla/j
... a-template