Add a locale code to the LocaleType typelist

About this task

You can add additional Java locale codes to the LocaleType typelist.

Procedure

  1. Open Guidewire Studio for PolicyCenter.
  2. In the Project window, navigate to the following location and right-click LocaleType.tti:
    • configuration > config > Metadata > Typelist
  3. Choose New > Typelist extension to create the file LocaleType.ttx.
    • If you see a Typelist Extension dialog enabling you to choose one of several LocaleType.ttx locations, choose the one in configuration/config/extensions/typelist/ and then click OK.
    • If you see a message saying that typelist extension is not allowed, then the file LocalType.ttx already exists. Open that file instead.
  4. In the editor for LocaleType.ttx, right-click the top element on the left, typelistextension LocaleType, and choose Add new > typecode.
  5. For code, enter the Java locale code.
    For example, enter the Java locale code nl_NL to configure regional formats used in the Netherlands.
  6. For name and description, by convention, specify the country followed by the language in parentheses.
    For example, enter Netherlands (Dutch) for both the name and the description.