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 ?
artur
2
/api/content/item/{singletonname}?locale=de
its not work, still got same json with data of all locales.
artur
5
can you share a link (you can do this also via PM)
artur
7
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”
}