JLanguage::load
Loads a single language file and appends the results to the existing strings
Signature
public function load([string
$extension = 'joomla',
[string
$basePath = JPATH_BASE,
[string
$lang = null,
[boolean
$reload = false,
[boolean
$default = true]]]]] )
Parameters
-
$extension
- The extension for which a language file should be loaded.
-
$basePath
- The basepath to use.
-
$lang
- The language to load, default null for the current language.
-
$reload
- Flag that will force a language to be reloaded if set to true.
-
$default
- Flag that force the default language to be loaded if the current does not exist.
Returns
- boolean
- True if the file has successfully loaded.