How to Translate JSON i18n Files in Your CI/CD Pipeline
A step-by-step guide to detecting changed keys, translating deltas, and writing back translated JSON files automatically in CI/CD.
Most i18n setups work the same way: you have an en.json file with your source strings, and you need es.json, de.json, fr.json, etc. Keeping those files in sync manually is a full-time job. Here's how to automate it in your CI/CD pipeline.
The File Structure
A typical i18n JSON setup looks like this: