[symfony-users] Translation in form class

2010-06-21 Thread HAUSa
How can I get a I18n translation in my form class? I want to use the __() function in my UserForm.class.php. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "sy

Yan: [symfony-users] Translation in form class

2010-06-21 Thread Guychmyrat Amanmyradov
try this : sfContext::getInstance()->getI18n()->__('text); --- 21/06/10 Pzt tarihinde HAUSa şöyle yazıyor: Kimden: HAUSa Konu: [symfony-users] Translation in form class Kime: "symfony users" Tarihi: 21 Haziran 2010 Pazartesi, 17:43 How can I get a I18n translation in

Re: Yan: [symfony-users] Translation in form class

2010-06-21 Thread Richtermeister
HAUSa > şöyle yazıyor: > > Kimden: HAUSa > Konu: [symfony-users] Translation in form class > Kime: "symfony users" > Tarihi: 21 Haziran 2010 Pazartesi, 17:43 > > How can I get a I18n translation in my form class? > I want to use the __() function in my UserForm.class