static function loadTextDomain() { $locale = Apply_Filters('plugin_locale', Get_Locale(), self::$textdomain); $language_folder = Core::$plugin_folder . '/languages'; Load_TextDomain(self::$textdomain, "{$language_folder}/{$locale}.mo"); Load_Plugin_TextDomain(self::$textdomain); self::$loaded = True; }
function Load_TextDomain() { $locale = Apply_Filters('plugin_locale', get_locale(), __CLASS__); Load_TextDomain(__CLASS__, DirName(__FILE__) . '/contribution_' . $locale . '.mo'); }
static function loadTextDomain() { $locale = Apply_Filters('plugin_locale', Get_Locale(), self::$textdomain); Load_TextDomain(self::$textdomain, Core::$plugin_folder . '/language/' . $locale . '.mo'); self::$textdomain_loaded = True; }
public function Load_TextDomain() { $locale = Apply_Filters('plugin_locale', Get_Locale(), __CLASS__); Load_TextDomain(__CLASS__, DirName(__FILE__) . '/language/' . $locale . '.mo'); }