Configuring a localization_localeCode.xml file

Guidewire uses localization_localeCode.xml files to define regional formats. To view these files, open Guidewire Studio for PolicyCenter and navigate to the following location in the Studio Project window:
  • configuration > config > Localizations

These localization files have Java locale code suffixes, such as localization_fr_FR.xml.

Guidewire provides the following localization files in the base configuration:
  • localization_en_US.xml
  • localization_fr_FR.xml
  • localization_ja_JP.xml

These localization files define the regional formats that are customary to each region. For example:

  • The localization_en_US.xml file contains configuration information on date, time, number, and currency formats for use in the United States.
  • The localization_ja_JP.xml file contains configuration information on how to format address information for Japan. It also contains configuration information on the Japanese Imperial Calendar in use in Japan.
Note: In the base configuration, Guidewire uses the ICU library defaults for certain regions, such as de_DE. For those regions, there is no localization_localeCode.xml file. See Overview of the International Components for Unicode (ICU) library.

You can add a new localization file to the Studio Localizations folder. If there are multiple copies of a localization file, then the files in the main configuration module override any other localization files.

You can use an existing localization_localeCode.xml file as a starting point if you want to create a new localization_localeCode.xml file to override the ICU library settings for a region. You define attributes and subelements of the <GWLocale> element.

See also