Hi team,
currently there is no way to fetch integration fields by a specified language.
We have a webshop that holds products in 4 different languages. We also have these 4 languages setup in Prismic. Right now we are forced to make 4 different integration fields:
- Products (English)
- Products (Dutch)
- Products (German)
- Products (French)
Each integration fields add a different query param (?lang=en
) to the url. It would be nice if multiple languages are better supported.
You could for example require us to select one or more languages for the integration field. Only the languages that are set in "Translations & locales" can be selected. Now the integration field wil sync the data for each of the selected language. For each language the query param ?lang={code}
is automatically added to the url when syncing data. Only the integration fields for a specified language are available during content editing.
Are there any plans in this direction?