D
D
Dmitry2015-12-27 13:25:47
Django
Dmitry, 2015-12-27 13:25:47

How to translate django templates before they get to angular.js?

I'm making a website with Angular.js. In django models, I registered the translation function everywhere, and in some templates too.
However, if you give templates for angular as static files, then naturally django will not translate. And to use representations for each template, in my opinion not the most correct decision!?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem Klimenko, 2015-12-27
@aklim007

but directly in js and translate
https://docs.djangoproject.com/en/1.9/topics/i18n/...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question