I18n subdomains and url-rules

Comparing #3 with #7

Tags

i18n, URL

Content

[...]
* If we're not already on a valid subdomain, the component tries to guess the client language and checks if that language is supported. If that's not the case, the fallback language is used as active language. After that a redirect-url gets generated.

* The application language will be set to the just figured out active language.

* The custom url rules will be included and passed to the urlManager component. The urlManager will be re-initialized to apply the cu
stom rules.

* If a redirect-url was previously set, a redirect to that url will be executed.
[...]
### Links

[Russian version - [link](http://dbhelp.ru/i18n-subdomains-and-url-rules/page/)