Repository navigation
🚀 New Feature: Translate to Multiple Languages Simultaneously
You can now translate your files to multiple languages with a single command! This update dramatically improves your workflow efficiency when localizing content.
How It Works
Simply provide comma-separated values for:
- Input files (supports glob patterns)
- Output paths (use
*as a placeholder for the original filename) - Target languages
Example
/gt doc/*.md *.md,docs/jp/*.md English,JapaneseThis command:
- Takes all markdown files in the
doc/directory - Translates them to both English and Japanese
- Places English translations at the root with original filenames (e.g.,
README.md) - Places Japanese translations in
docs/jp/directory with original filenames (e.g.,docs/jp/README.md)
Improved PR Visualization
Translation PRs now display a clean, organized summary of all translated files:
This cleaner visualization makes it easy to understand:
- Which files were translated
- Where each translation was saved
- Which languages were used
Backward Compatibility
Don't worry! The previous single-language format still works perfectly:
/gt README.md docs/jp/README.md Japanese
Try it out and let us know what you think!
New Contributors
- @PeterDaveHello made their first contribution in #87
- @PairZhu made their first contribution in #89
Full Changelog: v1.2.1...v1.2.2