Globalization parameters

Guidewire provides the following configuration parameters in the config.xml file that relate to globalization.

For information on editing config.xml and setting configuration parameters, see Working with configuration parameters.

AlwaysShowPhoneWidgetRegionCode

Whether the phone number widget in the application user interface always displays a selector for phone region codes.

Default: false

Set for server: Yes

DefaultApplicationCurrency

Default currency for the application. You must set configuration parameter DefaultApplicationCurrency to a typecode contained in the Currency typelist, even if you configure PolicyCenter with a single currency. Guidewire applications which share currency values must have the same DefaultApplicationCurrency setting in their respective config.xml files. The default currency is sometimes known as the preferred currency.

Important: This parameter setting is permanent. Once you set the parameter and then start the server, you cannot change the value.

Default: usd

Permanent: Yes

See also

DefaultApplicationLanguage

The display language that a user sees if they have not specified another language for the application. The language must be enabled and the specified language displays only for display keys that are defined for that language.

Important: This parameter setting is permanent. Once you set the parameter and then start the server, you cannot change the value.

Default: en_US

Permanent: Yes

See also

DefaultApplicationLocale

Default locale for regional formats in the application. You must set configuration parameter DefaultApplicationLocale to a typecode contained in the LocaleType typelist.

Important: This parameter setting is permanent. Once you set the parameter and then start the server, you cannot change the value.

Default: en_US

Permanent: Yes

See also

DefaultCountryCode

The default ISO country code that PolicyCenter uses if the country for an address is not set explicitly. PolicyCenter also uses the value of this parameter as the default country code for new addresses that it creates. The country code must be a valid ISO country code that exists as a typecode in the Country typelist.

See the following page to search a list of ISO country codes:

https://www.iso.org/obp/ui

DefaultNANPACountryCode

The default country code for region 1 phone numbers. If the area code is not in the nanpa.properties map file, then it defaults to the value configured with this parameter.

Default: US

DefaultPhoneCountryCode

The default ISO country code used for phone data.

Default: None

DefaultRoundingMode

Sets the default rounding mode for monetary amount calculations.

The available choices are a subset of those supported by java.math.RoundingMode, namely:

  • UP
  • DOWN
  • CEILING
  • FLOOR
  • HALF_UP
  • HALF_DOWN
  • HALF_EVEN

Guidewire strongly recommends that you use one of the following:

  • HALF_UP
  • HALF_EVEN

You can access this value in Gosu code by using the following method:

gw.api.util.CurrencyUtil.getRoundingMode()
Important: This parameter setting is permanent. Once you set the parameter and then start the server, you cannot change the value.

Default: HALF_UP

Permanent: Yes

See also

MulticurrencyDisplayMode

Determines whether multicurrency is enabled for PolicyCenter. The following are allowed values for MulticurrencyDisplayMode:
  • SINGLE
  • MULTIPLE

In the base configuration of PolicyCenter, the value is set to SINGLE. You can change the value to MULTIPLE once only. After you change the value to MULTIPLE, you cannot later change it back to SINGLE. If you change the value back to SINGLE, subsequent attempts to start the server fail.

Default: SINGLE

Permanent: Semi-permanent

See also