0) { self::$tr = require_once($tmp); } } // If MODE is defined and is set to NY, // translate the string if (defined("AG_MODE") && AG_MODE == "NY") { if (isset(self::$tr['translation'][$string])) { return self::$tr['translation'][$string]; } } // If MODE isn't set or the translation wasn't found, // return the string untranslated return $string; } } ?>