Localize Standard Validation Messages
- Last UpdatedNov 15, 2023
- 1 minute read
Localize a standard validation message to make it usable with a specific language, script, and culture.
To localize a standard validation message
-
Identify the key for a standard validation message from the text file in the <AVEVA Work Tasks Install Path>\Locales\<culture>\Forms2\Standard folder.
-
Add a key-value pair in an existing or a new text file in the following format: FormNGFMandatory:<@Name@><localized text>.
Example
When the Name property of a control is left blank, the Name is mandatory validation message appears. The key for this message in the text file is FormNGFMandatory. To localize or change this message to, say, Name must be specified., add a key-value pair in an existing or a new text file in the <AVEVA Work Tasks Install Path>\Locales\<culture>\Forms2\Standard folder as FormNGFMandatory: <@Name@> must be specified.