summaryrefslogtreecommitdiff
path: root/framework/I18N/TGlobalization.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/I18N/TGlobalization.php')
-rw-r--r--framework/I18N/TGlobalization.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/framework/I18N/TGlobalization.php b/framework/I18N/TGlobalization.php
index fd16f7bd..6e00dd48 100644
--- a/framework/I18N/TGlobalization.php
+++ b/framework/I18N/TGlobalization.php
@@ -149,7 +149,9 @@ class TGlobalization extends TModule
*/
public function getTranslationConfiguration()
{
- return $this->_translation;
+ return ($this->getDefaultCulture() == $this->getCulture())
+ ? null
+ : $this->_translation;
}
/**