I track all the stack and I found that.
In the form.twig, we have :
{% block errors %}
{% if errors %}
<ul>
{% for error in errors %}
<li>{% trans error.0 with error.1 from validators %}</li>
{% endfor %}
</ul>
{% endif %}
{% endblock errors %}
but in Translator->trans, the domain is null .
Any ideas ?
Thanks a lot :)
On 19 oct, 20:06, Dator <[email protected]> wrote:
> Hi,
>
> I work on a Symfony2 project and I want to use de Translation
> Component.
>
> The string translation works fine but I cannot find a way to translate
> error messages in a form.
>
> Does anyone has an idea ?
>
> Thanks a lot
>
> Clément.
--
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 developers" 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-devs?hl=en