Crawling a multilingual portal site

View the steps to set up search on a multilingual portal for users with different language preferences.

About this task

If your portal site is multilingual and your users use different languages to search your portal, you set up multiple search collections under one scope. Proceed as follows:

Procedure

  1. Before you start creating search collections, make sure that the parameter MULTILINGUAL_COLLECTION_ENABLED is set to false for the search service. If the parameter has not been set, add it and set it to false .
  2. Create a separate crawler user ID for each language that your users might use for search. Set the language preference for each user ID to a different one of the required languages.
  3. Create a portal content search collection for each language that your users might use. Set that language for the collection by selecting it from the pull-down list under Specify Collection Language.
  4. Create a single content source for each of these collections. For each content source, select the crawler user ID that you created before so that the language preference setting matches the language of the collection to which each content source belongs.
  5. For each content source, append &Locale=locale_name to the content source URL. For example, for Spanish append &Locale=es .
  6. Populate the collections by starting crawls on them. For load and performance reasons, run the crawls one after another rather than all at the same time. Refer to the topic about Hints and tips for Portal Search crawls.
  7. Create a scope, and add all collections that you just created. You can name this scope My preferred language.

Results

The Search Center portlet will return results from the collection in the user's preferred language only.