-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Description
We have a settings page that is configured only in the en locale. This page is fetched using a custom Graph query.
The settings page contains a property of type contentReference. In the CMS, this property is configured to reference a page that exists in multiple locales (en, nl, de, etc.).
Problem
When fetching the settings page (in en), the contentReference property returns the referenced page in the en locale.
However, we need to fetch the referenced page in a different locale (e.g., nl or de).
Currently, we only have access to:
• The content key of the referenced page, or
• The en path of the referenced page
Question
How can we use the SDK to fetch the referenced page in a specific locale when we only have:
• The content key, or
• The path of the page in the en locale?
Is there a function or recommended approach to query content by key while explicitly specifying the desired locale?
Expected Outcome
Ideally, the SDK should allow querying content by key and locale, so we can retrieve the correct localized version of the referenced page.