New facts, which may help, i i put onmy detail page
{% load i18n %}
a part from the admin template
{% if not user.is_anonymous %}
        <div id="user-tools">{% trans 'Welcome,' %} <strong>{% if
user.first_name %}{{ user.first_name }}{% else %}{{ user.username }}{%
endif %}</strong>. {% block userlinks %}<a href="doc/">{% trans
'Documentation' %}</a> / <a href="password_change/">{% trans 'Change
password' %}</a> / <a href="logout/">{% trans 'Log out' %}</a>{%
endblock %}</div>
  {% endif %}

it get translated in french.

However,
{% if form.has_errors %}
        {% if  form.error_dict|pluralize  %}
        <span id="error">Veuillez corriger les {{ form.error_dict.items|length
}} erreurs suivantes :</span>
        {% else %}
        <span id="error">Veuillez corriger l'erreur suivante :</span>
        {% endif %}
        <ul>

        {% for e in form.error_dict.items %}
                <li>Champ {{ e.0 }} : {{  e.1.0 }} </li>
        {% endfor %}
        </ul>
{% endif %}


 e.1.0  is still in english, (e,g : this field is recquired ).
and the preview_comment is still in english too.
i check the django/contribs/comments/templatetags.py
it includes, {% load i18n %}.

im confused, whats wrong with the internationalisation ?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to