Skip to content

Automate translation progress tracking for documentation#3205

Draft
Copilot wants to merge 4 commits intotrunkfrom
copilot/automate-translation-progress
Draft

Automate translation progress tracking for documentation#3205
Copilot wants to merge 4 commits intotrunkfrom
copilot/automate-translation-progress

Conversation

Copy link
Contributor

Copilot AI commented Jan 28, 2026

Translation progress was manually tracked in GitHub issues with checklists requiring manual updates after each PR. This PR automates that process.

Changes

GitHub Action (.github/workflows/update-translation-progress.yml)

  • Triggers on translation/source doc changes, daily at 00:00 UTC, and manual dispatch
  • Scans source docs, compares with translations per locale, updates tracking issues via API

Script (.github/scripts/update-translation-trackers.js)

Configuration

  • Added Bengali (bn) locale to docusaurus.config.js
  • Organized locales alphabetically

Documentation

  • Updated contributing/translations.md with automation details and instructions for adding new languages
  • Added TRANSLATION_AUTOMATION.md for system overview
  • Added .github/scripts/README.md for script documentation

Current State

The automation detects 74 source files and tracks:

  • bn: 16/74 (22%), fr: 15/74 (20%), tl: 30/74 (41%), pt-BR: 59/74 (80%), gu: 27/74 (36%)

Adding New Languages

  1. Add locale to docusaurus.config.js locales array and localeConfigs
  2. Add to TRACKER_ISSUES object in script with issue number
  3. Add display name to getLocaleDisplayName() function

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • cdn.cypress.io
    • Triggering command: /usr/local/bin/node node index.js --exec install (dns block)
  • https://api.github.com/repos/WordPress/wordpress-playground/issues/2306
    • Triggering command: /usr/local/bin/node node .github/scripts/update-translation-trackers.js (http block)
  • https://api.github.com/repos/WordPress/wordpress-playground/issues/2320
    • Triggering command: /usr/local/bin/node node .github/scripts/update-translation-trackers.js (http block)
  • https://api.github.com/repos/WordPress/wordpress-playground/issues/2353
    • Triggering command: /usr/local/bin/node node .github/scripts/update-translation-trackers.js (http block)
  • https://api.github.com/repos/WordPress/wordpress-playground/issues/2621
    • Triggering command: /usr/local/bin/node node .github/scripts/update-translation-trackers.js (http block)
  • https://api.github.com/repos/WordPress/wordpress-playground/issues/3186
    • Triggering command: /usr/local/bin/node node .github/scripts/update-translation-trackers.js (http block)

If you need me to access, download, or install something from one of these locations, you can either:


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 3 commits January 28, 2026 09:11
Co-authored-by: fellyph <330792+fellyph@users.noreply.github.com>
Co-authored-by: fellyph <330792+fellyph@users.noreply.github.com>
Co-authored-by: fellyph <330792+fellyph@users.noreply.github.com>
Copilot AI changed the title [WIP] Automate progress tracking for translations in multiple languages Automate translation progress tracking for documentation Jan 28, 2026
Copilot AI requested a review from fellyph January 28, 2026 09:21
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.

2 participants