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

Enable translations with sphinx-intl #97

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
Draft

Conversation

QuLogic
Copy link
Member

@QuLogic QuLogic commented Aug 20, 2024

This is based on #96 which, by moving to reST, exposes all the text we want. I have confirmed that all of the text that we want to see is exported to the gettext catalog.

I don't know exactly how we'd want to set up the workflow, but I'll leave that to @steppi.

I have added an example "Pig Latin" translation, and switched CircleCI to build it for this PR. This exposes a few bugs:

  1. The buttons from sphinx-design correctly translate, but lose their whole container.
  2. The header is from mpl-sphinx-theme, and thus won't translate. Not sure how best to structure that translation.
  3. The footer is still HTML, and thus not caught for translations.

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.

1 participant