Internationalization and Localization Support
Django provides support for Internationalization and Localization:
Internationalization (i18n) involves extracting strings out of your source code and presenting them as properties that are further referenced in the source code.
Localization enables translating these properties into the target languages.
PyCharm provides helpful features that simplify working on software internationalization and localization issues. These features are:
Possibility to run i18n-related tasks of the
Syntax highlighting in
Intention action to surround blocks of text in Django templates.
Navigation between blocks of text and locales.
Internationalization and Localization support is available for the Django applications.
gettextarchive from http://ftp.gnu.org/pub/gnu/gettext/ utilities are downloaded and installed on your machine.
Unpack the downloaded archive.
Add the paths to the
localedirectory in the project root.
Set Django as the project template language.