Scope: managed applications, mobile applications, and ordinary applications.
1. Do not assign string values that are not localized yet to attributes used in form items. It is recommended that you use value lists, in which a localized presentation is specified for each value, or enumerations if they are used in database tables.
If Mode = "Work" Then Mode = "Demo"; Else Mode = "Work"; EndIf;
If Mode = Enums.OperationModes.Work Then Mode = Enums.OperationModes.Demo; Else Mode = Enums.OperationModes.Work; EndIf;
This is because if a title is not specified, upon clicking Change form, a user will see titles automatically generated from form item names. Such titles will be exported for translation as blank and they will not be translated.
To arrange titles automatically, use a data processor attached to the Module texts article.
3.1. Delete irrelevant tooltips for form groups. See also Tooltips and filling check.
This is dictated not only by the desire to reduce localization costs. Users can see such tooltips, for example, when they change forms.
To delete irrelevant tooltips, use a data processor attached to the Module texts article.
4. Specify headers for columns of a dynamic list that are displayed in a query as a combination of other columns or that have their own alias assigned. Do not use headers that are automatically generated by name or alias.
Examples when you need to specify column headers explicitly:
Table.Field1 AS Field2
CAST(Table.Field1 AS STRING(100)) AS Field3
In this case, when a field is created in a query and a name is assigned to it, the synonym is not automatically obtained from metadata as there is no attribute related to this field. The interface text editor does not find headers for dynamic list columns, to which an alias is assigned in a query. You need to specify headers of dynamic list columns even if field names are not displayed on the form as a user can see column headers upon setting up form fields (clicking More, Change form...).
5. In form fields with selection lists, always set the ListChoiceMode property to True. In this case, a localized presentation will be correctly displayed in a field instead of a value from the selection list.