From 8f7c2f864662bad677ec724b5604381f6acf4fa7 Mon Sep 17 00:00:00 2001 From: Romain d'Alverny Date: Wed, 23 May 2012 15:25:15 +0000 Subject: do not load lang file for pivot language --- langs.inc.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'langs.inc.php') diff --git a/langs.inc.php b/langs.inc.php index 7f8a53386..909fe5e29 100644 --- a/langs.inc.php +++ b/langs.inc.php @@ -187,6 +187,9 @@ function _h($s, $args = null, $tag = 'p') { */ function _lang_load($locale, $domain) { + if ($locale == 'en') + return true; + $lang_file = sprintf('%s/langs/%s/%s.%s.lang', G_APP_ROOT, $locale, $domain, $locale); if (file_exists($lang_file)) { -- cgit v1.2.1