Localized site search | HCL Digital Experience
To search localized sites using the Search Results page template, you must create different search collections for each language. If you installed the CTC Demo site with the option CTC_MLS set to true, then the search components are already set up for the localized versions of the Arabic, Spanish, German, and Chinese CTC Demo sites. However, the search collections for these languages still have to be created.
Procedure
- Create a search collection for each locale specifying the appropriate language by copying the Default Search Collection. For example, copy and create a new search collection that is named CTC Search Collection RU for Russian.
- Create a content source for each site by copying the WCM Content Source.
- Copy the search component CTC Design > Components > List Components > Search Results List. For example, copy and create a new search component named Search Results List RU. This has already been done for Arabic, Spanish, German, and Chinese.
- Change the search component to reference the newly created collection.
- Change the search results index list to reference the new search component. For example, for the CTC Demo site, the item to update is in under .