diff --git a/framework/yii/i18n/I18N.php b/framework/yii/i18n/I18N.php index b929f49..d561963 100644 --- a/framework/yii/i18n/I18N.php +++ b/framework/yii/i18n/I18N.php @@ -161,7 +161,7 @@ class I18N extends Component protected function getPluralRules($language) { if (isset($this->_pluralRules[$language])) { - return $this->_pluralRules; + return $this->_pluralRules[$language]; } $allRules = require(Yii::getAlias($this->pluralRuleFile)); if (isset($allRules[$language])) {