Localization attributes

Guidewire provides several attributes on the localization element on column that affect the use of the element. The following list describes each attribute:

Attribute

Type

Description

nullok

Boolean

This attribute is required. Set it to the same value as the nullok attribute for the column to which you are adding the table.

If you set this attribute to false, PolicyCenter flags missing entries that it finds during a database consistency check, but it can start up with these missing entries. If PolicyCenter is configured with multiple languages:

  • PolicyCenter stores the values for the default application language in the main database table of the entity.
  • PolicyCenter stores the values for additional languages in a separate localization table.

During a consistency check, PolicyCenter flags entries in the main database table for the default language if corresponding entries for additional languages cannot be found in the localization table. Entries flagged as missing additional languages are warnings only. A missing language value does not prevent the server from starting.

Note: If only one language is configured, PolicyCenter does not run the consistency check.

tableName

String

The name of the localization table. Use the following format for this name:

mainEntityNameAbbrevation_columnNameAbbreviation_l10n

IMPORTANT: The table name must be no longer than 16 characters. If the name exceeds this length, the application server will not start.

extractable

Boolean

Default value is false. If you set this attribute to true, PolicyCenter adds the localization table to the archive for the entity. See Archive entities and the Extractable delegate.

overlapTable

Boolean

Default value is false. Overlap tables are tables in which individual table rows can exist either in the domain graph or as part of reference data, but not both. The database table itself exists both in the domain graph and as reference data. If you set this attribute to true, PolicyCenter marks the localization table as an overlap table. See Archive entities and the OverlapTable delegate.

unique

Boolean

Default value is false. If you set this attribute to true, PolicyCenter enforces that for each language the values are unique and there are no duplicates.

If the entity is of type effdated or effdatedbranch, do not set unique to true. See Data entities and the application database.

See also