hi all, i created singleton in different locales, fill it with data.
and then when i click button “show json”, i see common json with all data in all locales
my question is: how make GET request for received json content only with specified locale ?
hi all, i created singleton in different locales, fill it with data.
and then when i click button “show json”, i see common json with all data in all locales
my question is: how make GET request for received json content only with specified locale ?
/api/content/item/{singletonname}?locale=de
its not work, still got same json with data of all locales.
can you share a link (you can do this also via PM)
I see, you’re using Cockpit v1. Try ?lang=de
If you’re just starting with you’re project I would recommend using v2 ![]()
its very old project…
i tried now ?lang=de
and get
{
“error”: “Unauthorized”
}