[GSoC 2026]: Continued Development of Translation Tracker
Topic
Hi everyone, I'm Aashish, this year's GSoC Contributor, working on the continued development of the translation tracker. I wanted to share and potentially get feedback on what I'll be working on this summer.
I’ll be updating these items as the project progresses. Feedback is always welcome!
Description
This tracking issue outlines the goals, deliverables, and timeline for the Google Summer of Code 2026 project: Continued Development of Translation Tracker.
Building upon the robust foundation laid during GSoC 2025, this project aims to close operational gaps in our automated translation synchronization workflow. The core objective is to make tracking highly actionable for human translators, automate issue management, expand our content coverage, and provide clear progress visualization for language stewards and maintainers.
Core Goals & Deliverables
1. Improve Existing Issue Quality
- [ ] In-Issue Diffs: Update the tracker (
index.js) to parse theenglishDiffpatch snippet and render it within a collapsible<details>section inside the GitHub Issue body. This allows volunteer translators to see exactly what changed without navigating away. - [ ] Duplicate Detection: Leverage the GitHub REST API to search for open tracker issues matching the specific file path and language labels before creating a new tracking ticket, updating the existing issue with new diff info if found.
2. Stub-File Generation for New Pages
- [ ] Automated Placeholders: When a new English MDX page is created without a language counterpart, the GitHub Action will automatically generate a placeholder stub file in the respective language folders.
- [ ] Frontmatter & Tracking Flags: Stubs will pre-fill essential frontmatter (e.g.,
title,description) in English and append an explicit tracking flag (e.g.,needsTranslation: true). - [ ] Pull Request Workflow: Group these stub creations into a single automated PR per language. This avoids auto-merging and leaves full review control in the hands of repository maintainers.
3. Auto-Close Issues on Translation PR Merge
- [ ] Automated Cleanup: Build a dedicated GitHub Action workflow triggered on
pull_request(closed + merged) events to prevent manual backlog noise. - [ ] Path & Label Parsing: The workflow will parse changed translation file paths, identify target languages, search for corresponding open tracker issues (via labels like
lang-es,needs translation), and programmatically close them. It will natively support standard "Resolves #" conventions.
4. Translation Progress Visualization
- [ ] Status Dashboard: Implement a scheduled GitHub Action that scans language directories and generates a
translation-status.jsoncontaining coverage percentages, breakdowns, and last-checked timestamps. - [ ] Markdown Progress Bars: Render this data dynamically into a public-facing MDX file (
translation-status.mdx) utilizing clean markdown progress visuals to show overall coverage per language.
5. Expanded Content Coverage & Contributor Documentation
- [ ] Directory Verification: Validate and consistently extend the tracker's scanning, issue creation, and dashboard capabilities across all active translatable directories (including
tutorials/andexamples/). - [ ] New Contributor Onboarding Guide: Create an accessible documentation guide for new open-source contributors showing them exactly how to find a tracked issue, start translating files, and submit their first localization pull request.
What do you think overall goals? I would love your feedback.
- Contributor: @aashishpanthi
- Mentor: @Divyansh013
- Improve Existing Issue Quality
That sounds like it would be very useful, based on what I have noticed. Also tagging here the currently active i18n stewards @eupthere @lirenjie95 @marioguzzzman - if you have any thoughts, they would be very welcome!
So far a big blocker has also been getting a reviewer; so at least indicating more directly that this step is needed, or using labels to indicate what is waiting for a specific translation review? Some kind of system like that?
- Translation Progress Visualization
I think the best place for this to be would be a contributor doc related to translation; right now, there isn't one. You could propose an initial doc in this directory which is the source of truth for contributor guides.
Markdown Progress Bars: Render this data dynamically into a public-facing MDX file (translation-status.mdx) utilizing clean markdown progress visuals to show overall coverage per language.
This is an intriguing idea! Though if you have a .json and if it's publicly accessible. The way that, for example, https://p5js.org/reference/data.json or https://day.processing.org/data.json are), then the visualization of progress bars can be done in a p5.js sketch, and embedded in the proposed .mdx file. For example, the open data.json on day.processing.org is used in this viz: https://editor.p5js.org/SableRaf/sketches/uWFFlsu4- This approach also enables the dataset to have more information than is shown, and for community to create other visualizations.
the GitHub Action will automatically generate a placeholder stub file in the respective language folders.
Right now, the lack of a file/stub there allows English to be used as a fallback for untranslated files. I think it makes sense to keep this functionality, since we will not be able to immediately translate everything.
Not sure if this fits the scope of work, but here is something I recently noticed:
https://github.com/processing/p5.js-website/issues/1412 mentioned a translation file was missing at main, but it actually existed in the 2.0 branch with different filename, slightly different content. I assume the examples, filenames were updated on 2.x work. More info: https://github.com/processing/p5.js-website/pull/1414
It could have led to duplicate work if the translator wasn't aware of the existance of the almost identical file, and relied on the github-actions bot's message.
This kind of senario might night happen very often, but I am curious if filename change will affect the tracker.
Welcome @aashishpanthi! I’ll be happy to help review Simplified Chinese translation and DevOps changes.
@aashishpanthi and @Divyansh013 this is a great proposal, thank you very much for this work.
From my perspective points 1, 3, and 4 are clearly worth doing:
- In-issue diffs (Goal 1) is very much needed. I think it would improve the flow and precision of the translator's work. In addition to that point I would also suggest, when the diff is shown, could it also include a direct link to the current translated page so reviewers don't need to navigate there manually?
Meaning that when reviewing a translation would be useful to have:
- What changed in English (the diff)
- A link to the English live page
- A link to the Spanish live page as it currently stands
- Auto-close on merge (Goal 3)
- The progress dashboard (Goal 4), this would be a very useful tool to understand of the scope of the works that needs to be done.
Thank you again!