Azure-Samples / azure-search-openai-demo

A sample app for the Retrieval-Augmented Generation pattern running in Azure, using Azure AI Search for retrieval and Azure OpenAI large language models to power ChatGPT-style and Q&A experiences.
https://azure.microsoft.com/products/search
MIT License
5.57k stars 3.74k forks source link

Frontend multi-language support #1690

Open mrmueller opened 2 weeks ago

mrmueller commented 2 weeks ago

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [x] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

The frontent is available in the English language only. We translate strings directly in the code to German. Unfortunately this leaves behind some of our users who speak English, French or Spanish.

Expected/desired behavior

The app supports multiple languages and automatically adapts to the user's browser language.

Mention any other details that might be useful

pamelafox commented 2 weeks ago

Thanks for filing, I was actually hoping to tackle this soon, so I'm glad to see there's customer interest. I am currently investigating what i18n frameworks to use on the client, I've found ngettext and i18nnext so far. Do you have any that you recommend?

mrmueller commented 2 weeks ago

I like to hear that @pamelafox. Unfortunately, I have zero experience in this topic. Learning about i18n frameworks right now. Going to add one thing to the feature request:

In a multi-language environment like we have it, we can expect the indexed documents to be in multiple languages as well. The creation of search terms does not currently account for that.