[symfony-users] Re: Form Error Messages i18n

2009-03-12 Thread Tomasz Ignatiuk
You're welcome :) I made the same mistake. I forgot to uncomment all necessery settings in factories :) If you'll use gettext (PO files) you have to also find in propel plugin directory xml file for english language (or other you need), copy it to your application i18n directory and convert it to

[symfony-users] Re: Form Error Messages i18n

2009-03-11 Thread Tiago Nunes
Hi again, I already got it to work. I forgot to enable i18n in settings.yml... My mistake :) Now the error messages are translated. Thanks for your help. On Mar 11, 11:14 pm, Tiago Nunes wrote: > I had anerrorin the previous email. > > The tag shouldn't be there, but it's not the cause of i

[symfony-users] Re: Form Error Messages i18n

2009-03-11 Thread Tiago Nunes
I had an error in the previous email. The tag shouldn't be there, but it's not the cause of it not working.. On Mar 11, 11:10 pm, Tiago Nunes wrote: > Hi, > > I have tried to do it using an XLIFF file without success... > > I have put a file named "messages.pt.xml" in "apps/frontend/i18n/" > w

[symfony-users] Re: Form Error Messages i18n

2009-03-11 Thread Tiago Nunes
Hi, I have tried to do it using an XLIFF file without success... I have put a file named "messages.pt.xml" in "apps/frontend/i18n/" with the following content: Required. Campo Obrigatório. But the translation doesn't work... What am I doing w

[symfony-users] Re: Form Error Messages i18n

2009-03-10 Thread Tomasz Ignatiuk
Only solution I know is to check all messages in forms by entering wrong data. When an error message shows, copy it to XML or PO file and translate it. Remember to add special fields in comments: 'Name "%value%" must be at least %min_length% characters.' Read this: http://www.symfony-project.org