Skip to content

Conversation

lacolaco
Copy link
Collaborator

Summary

Add a new utility script list-untranslated that identifies files in adev-ja that don't have corresponding .en.* backup files, indicating they haven't been translated yet.

Changes

  • ✅ Add tools/list-untranslated.ts - New TypeScript executable script that scans for untranslated files
  • ✅ Add pnpm run list-untranslated command to package.json for easy execution
  • ✅ Uses simple glob pattern to find all translatable files (.md, .ts, .html, .json)
  • ✅ Excludes license files and .en.* backup files from scan
  • ✅ Provides clear output showing count and list of untranslated files

Usage

pnpm run list-untranslated

Output example:

Found 149 untranslated files:
  src/content/best-practices/error-handling.md
  src/content/ecosystem/rxjs-interop/output-interop.md
  ...

This tool helps identify translation gaps and prioritize translation work.

@lacolaco lacolaco merged commit 5a25476 into angular:main Sep 27, 2025
4 checks passed
@lacolaco lacolaco deleted the tools/add-list-untranslated-script branch September 27, 2025 09:46
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