set local language yii code example Example: yii2 language ./yii message/config --languages=de,ja --messagePath=messages path/to/config.php