Skip to content

Split translation stats calculation from the Sphinx extension - #786

Open
flpm wants to merge 1 commit into
pyOpenSci:mainfrom
flpm:separate-translation-stats
Open

Split translation stats calculation from the Sphinx extension#786
flpm wants to merge 1 commit into
pyOpenSci:mainfrom
flpm:separate-translation-stats

Conversation

@flpm

@flpm flpm commented Aug 4, 2026

Copy link
Copy Markdown
Member

What was done

Move the translation stats computation from the Sphinx extension into it's own file (/scripts/translation/stats.py), so it can be reused by other code that needs to perform the same computation.

This will be used by the script to keep the GitHub issues that track translation up to date (update_translation_issues.py) that I will add in a future PR.

How to test

  • Make sure the guide builds without warnings or errors.
  • Check the translation heat map in _build/TRANSLATING.html.

@flpm flpm self-assigned this Aug 4, 2026
@flpm flpm added translations Translation and localization of content maintenance labels Aug 4, 2026
@flpm

flpm commented Aug 4, 2026

Copy link
Copy Markdown
Member Author

pre-commit.ci autofix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance translations Translation and localization of content

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant