Cockpit
Cockpit copied to clipboard
api/content/items/{model} endpoint should contain all localized fields
Hi,
in the old version all localized fields were in the response as e.g. title_en, title_de, title_fr, ... Now only the "default" translation is added to the response except you provide a URL query param "locale" with the preferred language.
This causes an extra request for each language your application might be shown in.
Can you, for example, add a locale=* or locale=all parameter to restore the old behavior, or make it configurable from the settings?