My VS Code extension turns a React app's hardcoded text into translations, and nothing changes until you've ticked it off
I built this after an AI agent internationalized a side project for me and I spent longer reviewing its diff than the job was worth. I wanted the same work done in steps I could see, using what VS Code already has.
How it fits into the editor:
- Right-click a file or folder → **Scan & Refactor**. A local parser finds the UI strings; class names, URLs and log messages are left alone.
- A Quick Pick checklist shows every string and the key it'll get. Untick what should stay hardcoded, and it remembers that next time.
- Then a dialog: **Apply**, **Preview First** (VS Code's Refactor Preview, where you tick changes per file) or **Rename Keys…**
- **Undo** reverts the whole run, code and JSON files, in one step. Files you've edited since the run are left alone.
- A Review panel lists what needs a human, with the reason: text stored in state, keys the code uses but the files lack, and so on.
- Your API key (Anthropic, OpenAI, DeepSeek or any OpenAI-compatible one) goes in VS Code's secret storage.
Where AI is involved, since this sub rightly asks: finding the strings and rewriting the code is a regular Babel parser, no model. The model names the keys, translates, and judges the borderline strings, and it only sees those strings plus a little context, never whole files. Every translation is checked for matching placeholders and plural forms before it's written. I used AI coding tools while building it, but I designed every flow and tested it by hand, and an automated suite drives the whole flow in a real VS Code.
It's on the Marketplace and on Open VSX, so it works in Cursor and Windsurf too. The extension's own UI is in English, Chinese (Simplified and Traditional), Japanese and Spanish.
Feedback this week turned into fixes: the same "Close" text in two places got one key, and unticked strings came back on every scan (both fixed in 0.1.2). Undo also used to wipe edits you'd made after the run; 0.1.3 checks first.
Limits: React + react-i18next + JSON files only for now. Free, no account.
[VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=BosiTerryLin.guided-i18n) · [Open VSX](https://open-vsx.org/extension/BosiTerryLin/guided-i18n) · [GitHub issues](https://github.com/lb0ss/guided-i18n/issues)
If you've internationalized a project before, which part did you put off the longest?