set_key
Create or update translation keys per locale, writing to the correct YAML/JSON file and warning on placeholder mismatches.
Instructions
Create or update a key per locale. Writes to the key's current file, the nearest prefix's file, or the locale default. Warns on %{placeholder} mismatch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Dot-separated key path, e.g. "roles_scope.super_admin" | |
| file | No | Target file (absolute, or relative to the locale dir) | |
| values | Yes | Locale code → translation |