Translation writes reject sparse payloads that omit the langcode attribute

The payload langcode is optional per the module's own contract ("if present, MUST match"): checkResourceLanguage() now skips the comparison when the body carries no langcode attribute, since the target language is unambiguous from the request metadata. The mismatch rejection still fires verbatim whenever a langcode attribute is present and disagrees. Sparse POST/PATCH coverage proves creation, isolation of the targeted translation, and the preserved 422.

Co-Authored-By: Claude Fable 5 noreply@anthropic.com

Closes #3613674

Merge request reports

Loading