Contribute translations
Temario uses gettext for internationalisation. Translation files
are in src/lib/locale/.
Available languages
Section titled "Available languages"| Language | Code | Status |
|---|---|---|
| Spanish | es | ✅ Complete (base language) |
| English | en | 🔲 In progress |
Adding a new language
Section titled "Adding a new language"-
Copy the base template:
Terminal window cp src/lib/locale/es/LC_MESSAGES/temario.po \src/lib/locale/<code>/LC_MESSAGES/temario.po -
Edit the
.pofile with a translation editor such as Poedit or any text editor. -
Compile the translations:
Terminal window uv run python scripts/dev/compile_translations.py -
Test the interface with the new language:
Terminal window LANGUAGE=<code> ./temario-grafico -
Submit a Merge Request with the generated
.poand.mofiles.
Translating the web documentation
Section titled "Translating the web documentation"The website documentation is in website/src/content/docs/ in Markdown/MDX format.
To translate it into another language, first contact us by opening an
issue on GitLab to coordinate
the Starlight directory structure.
Contact
Section titled "Contact"For any questions about translations, open an issue with the i18n label.