XOOPS
2.6.0
|
Static Public Member Functions | |
static | load ($name, $domain= '', $language=null) |
static | translate ($string, $domain=null) |
Definition at line 28 of file Language.php.
|
static |
load - load a language file
string | $name | name of the language file |
string | $domain | domain or module supplying language file |
string | $language | language folder name |
Definition at line 54 of file Language.php.
References $GLOBALS, $language, $path, and XoopsBaseConfig\get().
Referenced by Xmf\Database\Tables\__construct(), Xmf\Module\Admin\checkModuleVersion(), Xmf\Metagen\checkStopWords(), and Xmf\Module\Helper\GenericHelper\loadLanguage().
|
static |
Attempt a translation of a simple string
string | $string | string to translate |
string | $domain | language domain |
Definition at line 40 of file Language.php.