A Wrapper That Stops ChatGPT from Breaking Your JSON Translations
Built because ChatGPT reliably breaks large JSON locale files and Google Translate is a chore.

What it does
chatgpt-i18n is a web app that feeds your i18n JSON files to ChatGPT without letting the model chew them up. It offers a browser-based editor for viewing and tweaking translations, then exports multiple locale files in one go. The whole thing is essentially a careful wrapper around OpenAI’s API, built by a developer who got tired of babysitting Google Translate tabs.
The interesting bit
The real trick is a chunking strategy that splits oversized JSON files into smaller pieces before sending them to the API, which keeps ChatGPT from mangling the structure. The author notes this is still a work in progress and currently runs slow, occasionally bumping into Vercel FaaS limits.
Key highlights
- Web editor for viewing and editing translated locale files.
- Bulk export of multiple locale files at once.
- Chunks large JSON to reduce the chance of ChatGPT breaking syntax.
- Built to replace Google Translate and raw ChatGPT for localization workflows.
Caveats
- The JSON chunking feature is marked work-in-progress and can be slow; the author reports it sometimes exceeds Vercel FaaS limits.
Verdict
Worth a look if you maintain multilingual apps and have watched ChatGPT hallucinate closing braces. Skip it if you need a mature, fully managed translation pipeline; this is still a personal productivity tool with rough edges.
Frequently asked
- What is ObservedObserver/chatgpt-i18n?
- Built because ChatGPT reliably breaks large JSON locale files and Google Translate is a chore.
- Is chatgpt-i18n open source?
- Yes — ObservedObserver/chatgpt-i18n is open source, released under the AGPL-3.0 license.
- What language is chatgpt-i18n written in?
- ObservedObserver/chatgpt-i18n is primarily written in TypeScript.
- How popular is chatgpt-i18n?
- ObservedObserver/chatgpt-i18n has 806 stars on GitHub.
- Where can I find chatgpt-i18n?
- ObservedObserver/chatgpt-i18n is on GitHub at https://github.com/ObservedObserver/chatgpt-i18n.