Difference between #3 and #4 of
i18n for your model in just 1 line

Revision #4 has been created by mintao on Feb 16, 2010, 11:18:12 PM with the memo:

And another typo ... seems that I'm already too tired to write
« previous (#3) next (#5) »

Changes

Title unchanged

i18n for your model in just 1 line

Category unchanged

Tutorials

Yii version unchanged

Tags unchanged

Content changed

A simple trick to get the localized version of a fimodeld from you modield is to add this little functionmethod to your models.


```php
[...]
public function getNameLocalized()
[...]
12 0
9 followers
Viewed: 19 848 times
Version: 1.1
Category: Tutorials
Tags: i18n
Written by: mintao
Last updated by: Orteko
Created on: Feb 16, 2010
Last updated: 14 years ago
Update Article

Revisions

View all history