Hi Christophe,
You can define those messages in the french dictionary
"sf_admin.xml" (in apps/MY_APP/i18n/fr/).

FYI: Those messages are outputted using the I18N ("__()") helper. You
can check admin/templates/templates/_flashes:
echo __($sf_user->getFlash('notice'), array(), 'sf_admin')

Also, Make sure that your default user culture is "fr" (or "fr_FR", or
"fr_CA", or...).

For more info about the dictionary file format and the default
culture, you can read the Day 19 of the practical Symfony guide:
http://www.symfony-project.org/jobeet/1_4/Doctrine/en/19

Thanks,

On Apr 7, 6:45 am, "NOOVEO - Christophe Brun" <[email protected]>
wrote:
> Hi everybody.
>
> When you save an object in your backend application, Doctrine gracefully
> flashes a message like 'the object has been successfully saved'. Same
> thing with newly created objects, deleted objects etc.
>
> I would like to change these messages (actually, my client is a french
> speaker and of course english messages are not very friendly). I know I
> can change them in the relevant file, namely :
> lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/default/tem
> plate/actions/processFormAction.php. But of course, modifying a core lib
> file is the dirty way. So, what is the safe way to customize these
> messages ?
>
> Regards,
> C.B.

-- 
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 "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to