diff options
Diffstat (limited to 'framework/I18N/TGlobalization.php')
-rw-r--r-- | framework/I18N/TGlobalization.php | 4 |
1 files changed, 3 insertions, 1 deletions
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;
}
/**
|