How to use the I8n behaviour in combination with sluggable behaviour in Doctrine

Julin

New Member
i've got a table with articles. The table has the fields id, title and text.I'm using the sluggable behaviour on the title-field resulting in a unique url\[code\]$sluggable0 = new Doctrine_Template_Sluggable( array('name'=>'url', 'fields'=>array(0 => 'title'), 'unique'=>true, 'canUpdate'=>true));$this->actAs($sluggable0);\[/code\]Now I'd like to use the article in multiple languagles. The text is now internationalized using the I18n-behaviour\[code\] $this->actAs('I18n', array('fields'=>array('text')));\[/code\]My question: how can I internationalize the title field, so that there are unique url's in each language that will be used? Thanks!!
 
Back
Top