Function loadLanguage
Load a language file. Tries the current and default themes as well as the user and global languages.
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Load.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Load.php
string |
$template_name |
The name of a template file |
string |
$lang = '' |
A specific language to load this file from |
boolean |
$fatal = true |
Whether to die with an error if it can't be loaded |
boolean |
$force_reload = false |
Whether to load the file again if it's already loaded |
string
|
The language actually loaded. |