Revision #16 has been created by rackycz on Jan 21, 2021, 2:48:02 PM with the memo:
Translations
« previous (#15) next (#17) »
Changes
Title
unchanged
Yii v2 snippet guide III
Category
unchanged
Tutorials
Yii version
unchanged
2.0
Tags
changed
tutorial,yii2,beginer
Content
changed
[...]
'<sys_lang:[a-z]{2}>/<controller:\w+>/<action:\w+>' => '<controller>/<action>',
],
],
],
```
Now the language-switching links will produce URL like this: http://myweb.com/en/site/index