Hi there. I've been searching the docs but I can't find any information about this. How do you handle datasets in multiple languages? We have data in several languages, but when a user searches they should only receive the results relevant to their own language. Do we need to make a collection for each language? Everything I read so far seems to suppose the developer is only dealing with data in a single language
k
Kishore Nallan
05/09/2022, 7:33 AM
You can have separate fields for each language. However this means that you need to know what the users language is. Is that something you don't have information on?
j
Joris Mans
05/09/2022, 7:36 AM
Yes we do.
Joris Mans
05/09/2022, 7:36 AM
It's a mobile app and we can simply take the language the app is running in
k
Kishore Nallan
05/09/2022, 7:37 AM
Cool then you can just have fields like "name_es" for Spanish, "name_en" for English etc.
j
Joris Mans
05/09/2022, 7:38 AM
ah yes and then just only use the right fields when running the query