Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add translation (l10n) infrastructure to devguide #1011

Closed
wants to merge 2 commits into from

Conversation

rffontenelle
Copy link
Contributor

@rffontenelle rffontenelle commented Dec 24, 2022

See #1012

@cpython-cla-bot
Copy link

cpython-cla-bot bot commented Dec 24, 2022

All commit authors signed the Contributor License Agreement.
CLA signed

@rffontenelle rffontenelle mentioned this pull request Dec 24, 2022
@CAM-Gerlach CAM-Gerlach linked an issue Dec 24, 2022 that may be closed by this pull request
@CAM-Gerlach
Copy link
Member

See my comment in #1012 for some overall questions about this.

My web browser hangs trying to load the full 20k+ line file in GitHub, but it looks like there are at least a couple Sphinx issues in the translated version:

locales/pt_BR/LC_MESSAGES/devguide.po:9140: superfluous backtick in front of role (backtick-before-role)
locales/pt_BR/LC_MESSAGES/devguide.po:9140: default role used (hint: for inline literals, use double backticks) (default-role)

It seems we need to enable or add support for the appropriate theme options to add a translation menu or similar in the theme, and add support on our hosting serve (RTD?), as I'm not seeing the translated versions anywhere in the rendered preview.

Also, note that the theme text is unfortunately not yet itself translated, see pradyunsg/furo#434 for more.

@rffontenelle
Copy link
Contributor Author

Thanks @CAM-Gerlach. #1014 should fix the root cause of the Sphinx issue.

@rffontenelle
Copy link
Contributor Author

Closing as commented in the linked issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Translate devguide
2 participants