Localization
- Last UpdatedJun 22, 2023
- 1 minute read
Localize a custom control name, property, and description to make it usable with a specific language, script, and culture.
To localize a custom control name in Forms Designer Toolbox
-
Add a new key-value pair in a custom text file and place the file in the <AVEVA Work Tasks Install Path>\Locales\<culture>\Forms2 folder in the following format: FormNGFControl<namespace.classname>:localized Name.
For example, to localize the Masked Input Control control name, code as follows:
FormNGFControlFormCustomControl.MaskedInputControl:Masked Input
Note: Replace namespace.classname with the custom control namespace and class name.
To localize a custom property name and description
-
Add a new key-value pair in a custom text file and place the file in the <AVEVA Work Tasks Install Path>\Locales\<culture>\Forms2 folder in the following format: Form<property name>Property:localized Name and Form<property name>PropertyDescription:localized Description.
For example, to localize the name and description of the Retain Selected Value property, code as:
FormRetainSelectedValueProperty:Retain Selected Value
FormRetainSelectedValuePropertyDescription:Keep selected value regardless of the current parameter values.