Lint rules
structure-mismatch
errorFlags a key whose value has a different shape in a target locale than in the source locale.
Why this is bad
The source locale defines each key's shape, so a target locale holding a different shape at the same key can't line up with it and may lead to runtime errors.
Examples
Given a source locale that defines items as an array:
messages/en.json
{"items": ["One", "Two"]}
Examples of incorrect code for this rule:
messages/es.json
{"items": "One"}
Examples of correct code for this rule:
messages/es.json
{"items": ["Uno", "Dos"]}
How to fix it
Align the structure of the target locale with the source locale, so the flagged key holds the same shape in both.
Afterwards, you can add any missing translations with eloqnt translate.