Yii2 translation does not work
You Just Follow This Steps…… Step 1: In the common directory , create messages folder. Step 2: Create i18n.php file inside common/config directory with following content: <?php return [ ‘sourcePath’ => __DIR__. ‘..’ . DIRECTORY_SEPARATOR . ‘..’ . DIRECTORY_SEPARATOR . ‘..’ . DIRECTORY_SEPARATOR, ‘languages’ => [‘en-EN’, ‘ru-RU’], //Add languages to the array for the language … Read more