public function canSetProperty($name, $checkVars = true) { return in_array($name, $this->translationAttributes) ?: parent::canSetProperty($name, $checkVars); }