aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_mail.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/functions_mail.inc.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/functions_mail.inc.php b/include/functions_mail.inc.php
index 4e6ee21bc..5322e2165 100644
--- a/include/functions_mail.inc.php
+++ b/include/functions_mail.inc.php
@@ -255,7 +255,9 @@ function switch_lang_to($language)
// Translations are in admin file too
load_language('admin.lang', '', array('language'=>$language) );
trigger_action('loading_lang');
- load_language('local.lang', '', array('language'=>$language, 'no_fallback'=>true));
+ load_language('lang', PHPWG_ROOT_PATH.'local/',
+ array('language'=>$language, 'no_fallback'=>true, 'local'=>true)
+ );
$switch_lang['language'][$language]['lang_info'] = $lang_info;
$switch_lang['language'][$language]['lang'] = $lang;