Set the workflow language or region

About this task

It is possible to set the workflow region and the workflow language independently of the default application language and region in Guidewire Studio™.

Procedure

  1. Open Guidewire Studio for PolicyCenter.
  2. In the Studio Project window, navigate to the following location and double-click the workflow node of interest to open it in the Workflow editor:
    • configuration > config > Workflows
  3. Click the background area in the workflow layout view.
    This action opens the Properties area at the bottom of the workflow area.
  4. In this Properties area, you can enter one of the following:
    • A fixed name for the language or region
    • A Gosu expression that evaluates to a valid type for the language or region
    For example:

    Type

    Gosu

    Fixed string

    gw.i18n.ILocale.EN_US

    Variable expression

    gw.api.util.LocaleUtil.toLanguage(PolicyPeriod.Policy.PrimaryLanguage)

    gw.api.util.LocaleUtil.getCurrentUserLanguage()