-
-
Notifications
You must be signed in to change notification settings - Fork 816
Description
Describe the bug
Some content on the website (e.g., parts of the about page, event blog posts) is generated by macros. The content in these macros is hard-coded English,
How to reproduce the bug
- Go to a translated version of the team page or an event page
- See English content.
Minimum example code
Screenshots
No response
Environment details
- Operating system and version: All - visible in web browser
Logs
Additional context
To fix this, the English strings will need to be extracted into content that will be picked up as translated content, and the used as translated content when the site is built.
The process of translating navigation header titles may be helpful as a point of comparison - titles.md is written out as part of the generate_titles() call in build_pot_translations from beeware-docs-tools. We may need to add a step that looks for a macros file, parses it for a particular type of "translatable" content, writes that content out into a translatable form, then reads the pofile for the relevant translation to generate the translated content.