aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/language_switch/language_switch.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--plugins/language_switch/language_switch.inc.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/language_switch/language_switch.inc.php b/plugins/language_switch/language_switch.inc.php
index c97ed7637..cf815036e 100644
--- a/plugins/language_switch/language_switch.inc.php
+++ b/plugins/language_switch/language_switch.inc.php
@@ -49,7 +49,9 @@ class language_controler {
// Reload language only if it isn't the same one
if ( $same !== $user['language']) {
load_language('common.lang', '', array('language'=>$user['language']) );
- load_language('local.lang', '', array('language'=>$user['language'], 'no_fallback'=>true) );
+ load_language('lang', PHPWG_ROOT_PATH.'local/',
+ array('language'=>$user['language'], 'no_fallback'=>true, 'local'=>true)
+ );
if (defined('IN_ADMIN') and IN_ADMIN) { // Never currently
load_language('admin.lang', '', array('language'=>$user['language']) );
}