I'm using django registration and I want to translate the names of the fields and the error messages. I've realized that in /registration/locale there are files with different translations, but I don't how to use them.
This is a template example:
<table class="formulari">
<form method='post' action=''>{% csrf_token %}
{{ form }}
<tr><td></td><td><input type='submit' value="Actualitzar contrassenya" /></td>
</form>
</table>
I've tried with:
<form method="post" action="">{% csrf_token %}
<tr>
<th> <label> Contrassenya nova </label> </th>
<td> {{form.new_password1}} <td>
Now I can control the labels values, but I don't know how to translate the errors...
Thanks for your answers and your patience!