This uses json-autotranslate with the DeepL backend to generate locale files for your Shopify App extension.
It assumes the default locale file is en.default.schema.json. Change SOURCE_FILE to change this.
- Install
json-autotranslatein your project:npm i -D json-autotranslate - Set your DeepL API key:
export DEEPL_AUTH_KEY=your-key