From 421e67292492f6ce35b46228dea0ef3b3cb3b1b4 Mon Sep 17 00:00:00 2001 From: rojaro <> Date: Thu, 28 Apr 2011 10:14:58 +0000 Subject: fixed #134 --- framework/I18N/TGlobalization.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/framework/I18N/TGlobalization.php b/framework/I18N/TGlobalization.php index 2201f4e5..1280b6d5 100644 --- a/framework/I18N/TGlobalization.php +++ b/framework/I18N/TGlobalization.php @@ -155,7 +155,9 @@ class TGlobalization extends TModule */ public function getTranslationConfiguration() { - return $this->_translation; + return ($this->getDefaultCulture() == $this->getCulture()) + ? null + : $this->_translation; } /** -- cgit v1.2.3