Hello guys, 
I hope you are doing well :)

I have the following problem in my project:
I have a simple PasswordChangeForm, which I want to translate in German for 
example... Everything is fine and works correctly in Django 2.2.12:
See: 1.png
If I upgrade my Django to v 3.0+ same labels are partially translated! And 
this behavior is only for some languages: de,ru,bg.
For example in 'fr' everything is fine and all labels and error messages 
are translated.
See: 2.png and 3.png

The code that I use is same. Only Django version is different.

My code in templates/passsword.html:
 <form method="POST" >
            {% csrf_token %}
            <fieldset class="form-group">
                <legend class="border-bottom mb-4">Password change</legend>
                {% load i18n %}
                {% language 'de' %}
                {{ p_form|crispy }}
                {% endlanguage %}
            </fieldset>
            <div class="form-group">
                <button class="btn btn-outline-info" type="submit" 
name="btn-change">Save</button>
            </div>
 </form>


Have you faced with issue liked this? Do you have any idea, what is wrong?

Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d05bc41b-2657-49ee-859a-b988232ed350%40googlegroups.com.

Reply via email to