Searching and sorting in configured languages

Your PolicyCenter installation provides support for searching and sorting for a single language. PolicyCenter reads the localization code from the DefaultApplicationLocale configuration parameter, which you set in config.xml. The default is United States English, en_US.

You set the value of DefaultApplicationLocale once, before you start the application server for the first time. PolicyCenter stores this value in the database and checks the value at server startup. If the application server value does not match a database value, then PolicyCenter throws an error and refuses to start.

Important: You must set the value of configuration parameter DefaultApplicationLocale before you start the application server for the first time. You cannot change this value after you start the application server without dropping the database.

Guidewire also provides support for language-appropriate searching and sorting for display keys for each supported language code. You define and manage language characteristics in language_languageCode.xml files. You define these files for each localization file, such as language_en_US.xml. To access the localization folders, open Guidewire Studio™ and navigate in the Project window to configuration > config > Localizations.

Each language_languageCode.xml file contains a <GWLanguage> element. This element supports the following subelements that you can use to configure the behavior of searching and sorting operations in the Guidewire application:

  • <SortCollation> – Element <SortCollation> has a strength attribute that you use to define the sorting collation strength for this language. The exact meaning of the SortCollation strength attribute value depends on the specific language.
  • <LinguisticSearchCollation> – Element <LinguisticSearchCollation> supports a strength attribute that you use to define the searching collation strength for a language.

See also