Fixed
Project:
JSON:API Multilingual
Version:
1.0.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Jul 2026 at 10:17 UTC
Updated:
22 Jul 2026 at 10:55 UTC
Jump to comment: Most recent
EntityResource::getCollection() only declares the language cache context when the request already carries a language selector (?langCode= or an Accept-Language header). A collection GET with no selector therefore produces a response that does not declare it varies by Accept-Language.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
lauriiiComment #5
lauriii