In this task, we aim to prepare our application for localization by adding template strings throughout the codebase. These strings will serve as placeholders for the actual text content in different languages.
Once the template strings are in place, we will integrate the make messages command into our Docker setup. This command is part of Django's internationalization framework and is used to create or update .po files, which are used for translation.
By running make messages inside Docker, we ensure a consistent environment for generating these files, regardless of the local setup of the developers' machines.
Acceptance Criteria:
Template strings are added throughout the codebase where text content is present.
The make messages command is successfully integrated into Docker and can be run without errors.
Updated .po files are generated when make messages is run.
In this task, we aim to prepare our application for localization by adding template strings throughout the codebase. These strings will serve as placeholders for the actual text content in different languages.
Once the template strings are in place, we will integrate the
make messages
command into our Docker setup. This command is part of Django's internationalization framework and is used to create or update .po files, which are used for translation.By running
make messages
inside Docker, we ensure a consistent environment for generating these files, regardless of the local setup of the developers' machines.Acceptance Criteria:
make messages
command is successfully integrated into Docker and can be run without errors.make messages
is run.Next issue post completion: https://github.com/hotosm/website/issues/12