Configuring search for multilingual sites | HCL Digital Experience
By default, the Search Center uses the preferred language of the user to analyze search terms and to refine the search results. Search results in different languages are not displayed. You can enable users to search for terms in a language other than their preferred language.
Procedure
-
Complete the following steps to configure the Search Center for use in a multilingual
environment where users have different preferred languages and information is distributed in
multilingual content sources:
- Click the Administration menu icon. Then, click .
- Locate the Search Center portlet by either navigating through the pages or searching for it in the search field.
- Click the Configure portlet icon for the Search Center portlet.
- Click the Edit value icon for the preference SEARCH_LANG, and set it to ALL. This enables the display of search results of all available content sources regardless of their language information.
- Click the Edit value icon for the preference QUERY_LANG, and set it to COLLECTION. This enables the Search Center to analyze the search terms by using the language of each collection to be searched.
- Click OK to activate the changes.
-
To enable the default behavior, complete the following steps:
- Click the Administration menu icon. Then, click .
- Locate the Search Center portlet by either navigating through the pages or searching for it in the search field.
- Click the Configure portlet icon for the Search Center portlet.
- Click the Edit value icon for the preference SEARCH_LANG, and set it to PREFERRED.
- Click the Edit value icon for the preference QUERY_LANG, and set it to PREFERRED.
- Click OK to activate the changes.