i18n for your model in just 1 line

Comparing #3 with #4

Revision #4 was created by mintao mintao on Feb 16, 2010, 11:18:12 PM.

And another typo ... seems that I'm already too tired to write

Content

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()
[...]