Hi there. I've been searching the docs but I can't...
# community-help
j
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
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
Yes we do.
It's a mobile app and we can simply take the language the app is running in
k
Cool then you can just have fields like "name_es" for Spanish, "name_en" for English etc.
j
ah yes and then just only use the right fields when running the query
k
Yes, 💯