[symfony-users] Re: i18n get other language

2009-10-25 Thread HAUSa
I use Propel. How can I create my own i18n template? Not really heard of it before :) On 25 okt, 16:54, Alexandre SALOME alexandre.sal...@gmail.com wrote: Hi,   You should create your own I18N template, inspired from the I18N Doctrine Template. 2009/10/25 HAUSa

[symfony-users] Re: i18n get other language

2009-10-25 Thread Alexandre SALOME
Ho :) Propel... Not very friendly with templates. In your model, you could add default_title, default_description, and display them as english language. Others (FR, NL, ...) would be in I18N tables. And create methods : getTitle() { if ($title = parent::getTitle()) { return $title; }