Fix translation of html pages by StanFromIreland · Pull Request #263 · python/python-docs-theme
Repository navigation
Fix translation of html pages - #263
Merged
hugovk merged 3 commits into python:main from StanFromIreland:fix-translation Sep 15, 2025
Merged
Fix translation of html pages #263 hugovk merged 3 commits into python:main from StanFromIreland:fix-translation
Conversation
StanFromIreland
commented
Sep 9, 2025
·
edited by github-actions
Bot
Loading
Copy link Copy Markdown
Member
There two issues, firstly some languages were not compiled and therefore don't load (e.g. Polish ), and secondly, we hijacked the gettext for html files with python-docs-theme.po, resulting in messages in sphinx.po not loading (e.g. Greek ).
Complete preview, built with translations: https://stan.ulbrych.org/preview/theme-translation/ (vs. current docs )
Compilation issueWe now get:
compiling catalog python_docs_theme/locale/zh_TW/LC_MESSAGES/python-docs-theme.po to python_docs_theme/locale/zh_TW/LC_MESSAGES/python-docs-theme.mo
compiling catalog python_docs_theme/locale/tr/LC_MESSAGES/python-docs-theme.po to python_docs_theme/locale/tr/LC_MESSAGES/python-docs-theme.mo
compiling catalog python_docs_theme/locale/pt_BR/LC_MESSAGES/python-docs-theme.po to python_docs_theme/locale/pt_BR/LC_MESSAGES/python-docs-theme.mo
compiling catalog python_docs_theme/locale/sv/LC_MESSAGES/python-docs-theme.po to python_docs_theme/locale/sv/LC_MESSAGES/python-docs-theme.mo
compiling catalog python_docs_theme/locale/pl/LC_MESSAGES/python-docs-theme.po to python_docs_theme/locale/pl/LC_MESSAGES/python-docs-theme.mo
compiling catalog python_docs_theme/locale/ja/LC_MESSAGES/python-docs-theme.po to python_docs_theme/locale/ja/LC_MESSAGES/python-docs-theme.mo
compiling catalog python_docs_theme/locale/zh_CN/LC_MESSAGES/python-docs-theme.po to python_docs_theme/locale/zh_CN/LC_MESSAGES/python-docs-theme.mo
compiling catalog python_docs_theme/locale/es/LC_MESSAGES/python-docs-theme.po to python_docs_theme/locale/es/LC_MESSAGES/python-docs-theme.mo
compiling catalog python_docs_theme/locale/el/LC_MESSAGES/python-docs-theme.po to python_docs_theme/locale/el/LC_MESSAGES/python-docs-theme.mo
📚 Documentation preview 📚: https://python-docs-theme-previews--263.org.readthedocs.build/
Commit
313a83d
StanFromIreland
requested a review
from hugovk
September 9, 2025 14:38
StanFromIreland
mentioned this pull request
Sep 9, 2025
Prepare for patch release
#265
Merged
4 tasks done
StanFromIreland
commented
Sep 9, 2025
View reviewed changes
Switch approach
e670cdf
rffontenelle
approved these changes
Sep 9, 2025
View reviewed changes
rffontenelle left a comment
Copy link Copy Markdown
Contributor
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more .
LGTM
m-aciek reviewed Sep 9, 2025View reviewed changes
hugovk reviewed Sep 10, 2025
View reviewed changes
Add type hints
c527a81
StanFromIreland commented Sep 10, 2025
Copy link Copy Markdown
Member
Author
|
Added type hints per documentation . |
View reviewed changes
hugovk merged commit
fee2ae0
into
python : main
Sep 15, 2025
StanFromIreland
deleted the
fix-translation
branch
September 15, 2025 16:41
StanFromIreland
mentioned this pull request
Apr 4, 2026
Translations for the theme
pradyunsg/furo#434
Open
Sign up for free
to join this conversation on GitHub .
Already have an account?
Sign in to comment