This is the default message for FOSUser:
{% block subject %} {% autoescape false %} {{ 'registration.email.subject'|trans({'%username%': user.username, '%confirmationUrl%': confirmationUrl}, 'FOSUserBundle') }} {% endautoescape %} {% endblock %} {% block body_text %} {% autoescape false %} {{ 'registration.email.message'|trans({'%username%': user.username, '%confirmationUrl%': confirmationUrl}, 'FOSUserBundle') }} {% endautoescape %} {% endblock %} {% block body_html %}{% endblock %}
On line 8, "registration.email.message" is the content of the email. And trans is a replacement filter. Try something like this:
{% block subject %} {% autoescape false %} {{ 'Confirmez votre inscription sur blabla.com'|trans({'%username%': user.username, '%confirmationUrl%': confirmationUrl}, 'FOSUserBundle') }} {% endautoescape %} {% endblock %} {% block body_text %} {% autoescape false %} {{ 'Bonjour %username% Merci de cliquer sur le lien suivant afin de confirmer votre inscription sur blabla.com: %confirmationUrl%'|trans({'%username%': user.username, '%confirmationUrl%': confirmationUrl}, 'FOSUserBundle') }} {% endautoescape %} {% endblock %} {% block body_html %}{% endblock %}
Psddp source share