Difference between #8 and #9 of
Multilanguage web site controlling by get request and database allowed languages

Revision #9 has been created by rei on Sep 19, 2011, 3:45:55 PM with the memo:

Just fixing several typos in this article
« previous (#8)

Changes

Title unchanged

Multilanguage web site controlling by get request and database allowed languages

Category unchanged

Tutorials

Yii version unchanged

Tags unchanged

language, multilanguage, website

Content changed

You can controll your languages in admin ---------------------------------------- First Y, you have to have create database table for default language and allowed languages.

```php
[...]
}
```
Now we have to make
Ssome Ffunctions in component Controller whitch extends CController
[...]
### 1. rule is default
### 2. rule is for /hr/admin remove index from controller
### 3. rule is for each control
ler action /en/site/index
### 4. rule is for redirecting /en/ for redirecting index to language /de/ /fr/
depends on database

```php
'urlManager'=>array(
[...]
5 0
13 followers
Viewed: 23 282 times
Version: 1.1
Category: Tutorials
Written by: Igor Ivanovic
Last updated by: rei
Created on: Jun 21, 2011
Last updated: 6 years ago
Update Article

Revisions

View all history