Translation | Django documentation | Django

https://docs.djangoproject.com/en/3.2/topics/i18n/translation/

Django The web framework for perfectionists with deadlines. Overview Download Documentation News Community Code Issues About ♥ Donate Documentation Search: Search 2021 Django Community Survey Getting Help el es fr id it ja ko pl pt-br zh-hans Language: en 1.8 1.10 1.11 2.0 2.1 2.2 3.0 3.1 dev Documentation version: 3.2 ¶ ¶ In order to make a Django project translatable, you have to add a minimal number of hooks to your Python code and templates. These hooks are called translation strings . They tell Django: “This text should be translated into the end user’s language, if a translation for this text is available in that language.” It’s your responsibility to mark translatable strings; the system can only translate strings it knows about. Django then provides utilities to extract ...

Linked on 2021-08-10 07:42:31 | Similar Links