Question:
I started to use wix Multilingual:
import { translationPublishedContents } from “@wix/multilingual”;
I want to query the translations for several items in my repeater.
But:
When i rune this
const t = await translationPublishedContents.queryPublishedContent().hasSome('entityId', ['5a759454-f0d6-49b0-92a8-3660d845037f']).find();
I get the following error:
Field ‘entityId’ is using non allowed operator '$hasSome
It would make a lot of sense to be able to get the translated content for a list of items, for example, to use in a repeater.
I tried the same query with import { translationContents } from “@wix/multilingual”;
Which according to the docs
should be able to query with hasSome over the entityId but also fails with the same error.
Product:
Multilingual-api
What are you trying to achieve:
Get the Translated content of a list of items.
What have you already tried:
Switch method
Additional information:
It feels like this should be possible and it makes no sense that it is not possible?