May 2018
Beginner to intermediate
526 pages
11h 57m
English
To translate literals in your Python code, you can mark strings for translation using the gettext() function included in django.utils.translation. This function translates the message and returns a string. The convention is to import this function as a shorter alias named _ (underscore character).
You can find all the documentation about translations at https://docs.djangoproject.com/en/2.0/topics/i18n/translation/.
Read now
Unlock full access