[symfony-users] Re: I18n in forms messages

2009-03-07 Thread Marijn
You could set the messages on the view side in your template, e.g.: ?php $WidgetSchema = $Form-getWidgetSchema(); ? ?php $ValidatorSchema = $Form-getValidatorSchema(); ? ?php $WidgetSchema-setHelps(array('my_widget' = __('My widget help'))); ? ?php $WidgetSchema-setLabels(array('my_widget' =

[symfony-users] Re: I18n in forms messages

2009-03-06 Thread boozee
Well, as it is being done in the forms system, I don't really use the __ method like you wrote, as it happens automatically. So I can't do what you wrote. But it's a creative idea, thanx. Anything else I can do ? suggestions ? On Mar 6, 3:06 am, jukea jkea...@gmail.com wrote: oops, typo error

[symfony-users] Re: I18n in forms messages

2009-03-05 Thread boozee
anyone? please ? On Mar 5, 2:44 am, boozee booze...@gmail.com wrote: Hello, I have made a section in my messages.he.xml to translate the An object with the same %column% already exist. message, to my local language. However, while most of the sentence was translated fine, the content of

[symfony-users] Re: I18n in forms messages

2009-03-05 Thread jukea
just an idea here .. maybe you could try this : __('Blbalba %parameter%',__($columnName)); instead of this : __('Blabla $parameter%', %columnName); On Mar 5, 6:04 pm, boozee booze...@gmail.com wrote: anyone? please ? On Mar 5, 2:44 am, boozee booze...@gmail.com wrote: Hello, I

[symfony-users] Re: I18n in forms messages

2009-03-05 Thread jukea
oops, typo error . What I meant was : maybe you could try this : __('Blbalba %parameter%',__($columnName)); instead of this : __('Blabla %parameter%', $columnName); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups