Revision #61 has been created by rackycz on Sep 20, 2019, 1:48:14 PM with the memo:
edit
« previous (#60) next (#62) »
Changes
Title
unchanged
Yii v2 for beginners
Category
unchanged
Tutorials
Yii version
unchanged
2.0
Tags
unchanged
tutorial,beginner,yii2
Content
changed
[...]
], // end of 'components'
```
You surely saw that Iin views and models there are texts saved like this:
```php[...]
```
It means that this text belongs to category "app" and its English version (and also its ID) is "New password". So this ID will be searched in the file you just created. In my case it was the Czech file:
- "C:\xampp\htdocs\basic\messages\cs-CZ\app.php"[...]
```php
<?php
return [
'New password' => 'Nové heslo',
];
?>
```
Switching languages + session + dropdown in the top menu
---
... text ...[...]