TranslateForm Method
- Last UpdatedNov 06, 2025
- 1 minute read
The TranslateForm() method recursively descends through all the controls contained within the specified control and translates all the displayed language strings (for example, translates all translatable strings in the controls' Text property). A translatable string is a string with "nnn" within angle brackets appended, where nnn is the string_ID from the Language table.
In this overload of the method, the language of the current user is used as the target language.
| Overload | Description |
|---|---|
| TranslateForm(Control) | The TranslateForm() method recursively descends through all the controls contained within the specified control and translates all the displayed language strings (for example, translates all translatable strings in the controls' Text property). A translatable string is a string with "nnn" within angle brackets appended, where nnn is the string_ID from the Language table. In this overload of the method, the language of the current user is used as the target language. |
| TranslateForm(Control,ILanguageStrings) | The TranslateForm() method recursively descends through all the controls contained within the specified control and translates all the displayed language strings (for example, translates all translatable strings in the controls' Text property). A translatable string is a string with "nnn" within angle brackets appended, where nnn is the string_ID from the Language table. This overload of the method specifies which language to use to translate the form. |