Cockpit icon indicating copy to clipboard operation
Cockpit copied to clipboard

api/content/items/{model} endpoint should contain all localized fields

Open bomas13 opened this issue 1 year ago • 0 comments

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?

bomas13 avatar Jan 21 '25 13:01 bomas13