Creating multilanguage site using www.yiiframework.com/wiki/294/seo-conform-multilingual-urls-language-selector-widget-i18n/. However, the identity of language is added at the end of URL. So it looks like (example): www.example.com/site/test/language/de/ which is not what I want to achieve.
(BTW Since I post first message then I am not allowed to use full URL with protocol :/)
Tried to analyze the code (also method createMultilanguageReturnUrl) but seems I still getting /language/de at the end of URL.
Anyone can suggest me constructive tip? Thanks.
[Update]: After some investigation the "fix" is to modify urlManager settings in main.php config file:
'<language:([a-z]{2}(?:_[a-z]{2})?)>/<route:[\w\/]+>' => '<route>'