M
M
Mike2017-04-20 17:18:05
Django
Mike, 2017-04-20 17:18:05

Why don't words translate with i18n in Django?

I have variables set in settings.py

LANGUAGE_CODE = 'ru-Ru'
USE_I18N = True

I write in the template
{% load i18n %}
{% trans 'Hello World' %}

But for some reason it is not translated into Russian. Why? and how to do?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Burov, 2017-04-20
@BuriK666

https://docs.djangoproject.com/en/1.11/topics/i18n...

R
Roman Kitaev, 2017-04-20
@deliro

What do you expect? For janga to invite a personal translator who will be as fast as L1 cache?
Here, read https://docs.djangoproject.com/en/1.11/topics/i18n...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question