get_current_locale(); $mofile = $path . $domain . '-' . $currentLocale . '.mo'; if (file_exists($mofile)) { return load_textdomain($domain, $mofile); } return false; } }