Heyo. This is my function:
const info = await $fetch(api, {
method: "post",
body: {
query: "site",
language: "de",
select: {
info: {
query: "site.info.kirbytext",
language: "de",
},
contact: "site.contact.kirbytext",
},
},
headers,
});
But it’s still the en version. I checked on my backend and the de.txt and en.txt files exist.
How can I query the de versions?