Translate an i18n locale file
translate_i18n_jsonTranslate an i18n JSON locale file, keeping the key structure identical and placeholders ({name}, {{count}}, %s, HTML tags) intact. Pass existing_json to translate only the keys that are missing from it — the incremental sync people usually hand-roll a script for.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Target language. | |
| url | No | Or a link to the source JSON. | |
| json | No | Source locale file content (JSON). | |
| existing_json | No | Existing target locale; only missing keys get translated. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||