try this :
sfContext::getInstance()-getI18n()-__('text);
--- 21/06/10 Pzt tarihinde HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com
şöyle yazıyor:
Kimden: HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com
Konu: [symfony-users] Translation in form class
Kime: symfony users
Ideally you pass the I18N instance into the form. That way you don't
couple your forms to the context (makes forms hard to test).
For example, from within an action you can say:
$form = new WhateverForm(array(), array(i18n = $this -
getContext() - getI18n()));
and inside the form:
$i18n =