Algolia on multilingual websites
On sites that use more than one language we will add a language key to each item in the search index and only return results based on that language key.
The search basically works as follows:
- Simply Static will generate one Algolia index for a multi language site adding the "language" key to each indexed item
- During a search the Simply Static will use the "language" in the response to filter results for the selected language
- If for example the customer has searched for a product name in Portuguese but the language selected was English the results for Portuguese would be ignored
- The search language filter is still applied at the root domain (no selected language) using the default language selected in the multi language plugin