Difference between #6 and #7 of
I18n subdomains and url-rules

Revision #7 has been created by atrandafir on Apr 18, 2011, 8:28:15 AM with the memo:

simple correction from "cutom" to "custom"
« previous (#6)


Title unchanged

I18n subdomains and url-rules

Category unchanged


Yii version unchanged

Tags unchanged

i18n, URL

Content changed

* 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.

### Summary
7 0
Viewed: 31 312 times
Version: 1.1
Category: Tutorials
Tags: i18n, URL
Written by: Y!!
Last updated by: atrandafir
Created on: Nov 7, 2009
Last updated: 7 years ago
Update Article


View all history