Difference between #68 and #69 of
Yii v2 snippet guide

Revision #69 has been created by rackycz on Sep 20, 2019, 2:31:29 PM with the memo:

edit
« previous (#68) next (#70) »

Changes

Title unchanged

Yii v2 for beginners

Category unchanged

Tutorials

Yii version unchanged

2.0

Tags unchanged

tutorial,beginner,yii2

Content changed

[...]
$config = [
// use your language
// also accessible via Yii::$app->language
'language' => 'cs-CZ',

'sourceLanguage' => 'en-US', // en-US is default value, try not to change it.// This attribute is not necessary.
 
    // en-US is default value
 
    'sourceLanguage' => 'en-US',
 
    
 
    // ... other configs

```
Note: This language-setting will be forgotten as soon as you click somewhere. In next chapter we will enhance this ..

Switching languages + session + dropdown in the top menu
---
[...]
7 0
4 followers
Viewed: 259 284 times
Version: 2.0
Category: Tutorials
Written by: rackycz
Last updated by: rackycz
Created on: Sep 19, 2019
Last updated: 7 months ago
Update Article

Revisions

View all history