Format locale files
i18n_format_resourcesNormalize JSON formatting and sort keys in locale files to keep translations consistent. Previews changes by default; set dryRun to false to rewrite files.
Instructions
Normalize JSON formatting and sort keys (top level only for mixed files). Previews by default; pass dryRun:false to rewrite.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Default true (preview). false rewrites. | |
| locales | No | Locale tags to include, e.g. ['en','tr']. Default: all. | |
| sortKeys | No | Default true. | |
| workspaceDir | No | Sub-directory of the workspace root to operate on. Usually omitted. |