40 public static function translate($string, $domain = null)
57 if (!empty(
$GLOBALS[
'xoopsConfig'][
'language'])) {
64 :
"modules/{$domain}/") .
'language';
65 if (!$ret = Loader::loadFile(
"{$path}/{$language}/{$name}.php")) {
66 $ret = Loader::loadFile(
"{$path}/english/{$name}.php");
static load($name, $domain= '', $language=null)
static translate($string, $domain=null)