Localizing rule set names and descriptions

In Guidewire Studio™, it is possible to show rule names, rule set names, and rule set descriptions in a language other than English. To display a rule name or a rule set name and description in another language, you can translate these items in the definition file for that rule or rule set.

In Guidewire Studio™, to access the rule sets, navigate in the Project window to configuration > config > Rule Sets.

In the application directory structure, Guidewire stores rule-related files in the following location:

modules/configuration/config/rules/...

Following is a description of the rule file types and what you can localize in each file type.

File type

Rule type

Translatable unit

Example

.grs

Rule set

Rule set name

@gw.rules.RuleName("Translated rule set name")

Rule set description

@gw.rules.RuleSetDescription("Translated description")

.gr

Rule

Rule name

@gw.rules.RuleName("Translated rule name")

To modify these files, open them in a text editor in your system directory structure and not in Guidewire Studio™.

You can view only a single language translation of a rule set name or description in Studio. You cannot provide multiple translations at once, as you can with string translations.