How to filter api responses by language

#1

Hello
Is it possible to filter api responses by language in a URL query? something like /api/collections/get/activities?lang=fr
I’ve tried this one but it did not work
Thanks

#2

It should work with ?lang=fr if you translated your fields.

There is a bug if you use the fields projection. Than you have to add the field with suffix to the projection, too: https://github.com/agentejo/cockpit/issues/1063

#3

I’ll try that. Thanks