Posts Tagged with sourceLanguage

Displaying 1-3 of 3 results.
Resolved: Yii2 load controller with default language
posted by admin on June 2, 2017
I have project and I want to load website with default language and sourceLanguage or etc., but I cant change language in controller and in view.

\Yii::$app->language = function_any_logic_for_website();
//not working for controller and view, and not set language

How to resolve problem?Read more
Resolved: Yii translation not working
posted by admin on April 12, 2016
My Yii app translation code is stop working

<?php echo Yii::t('t', 'Added'); ?>


My Messages folder and file:

- messages
- ru
- t.php
Read more
Resolved: Yii 1.1 How to change default language
posted by admin on April 5, 2016
I want to change my website default language and read translation file by default to my website language.Read more