Online Documentation for Advanced Localizer for RAD Studio VCL

Form Localizer Editor


Form Localizer Editor helps you to set the properties of the TQFormLocalizer component quickly. To activate this window, double-click the component instance or right-click it and choose 'Form Localizer Editor' in the popup menu.

 

btnSave Save - use this button to save all the changes you made in the Form Localizer Editor to the language file. Note that to write strings to the file, you should create an instance of the TQLanguageSource component and specify this instance in the Source property.

 

btnReload Reload - use this button to cancel all the changes you made since last save.

 

btnAdd Add language - use this button to add a language to the list of available languages (Languages property of TQCustomLanguageSource component). In the dialog window you must specify the language source name (LanguageValue property) and the language name (LanguageName property). If no file exists with the filename you specified, it will be created. This button is available only if the Source property is specified.

 

btnEdit Edit language - use this button to change the name and/or the source file of the selected language. To make this button available you should choose any language column (except 'Original') in the properties/languages grid.

 

btnRemove Remove language - use this button to remove a language from the list of the available languages. The language file will not be deleted, but the language will not be used by TQFormLocalizer. To make this button available you should choose any language column (except 'Original') in the properties/languages grid.

 

At the left of the window there is an object tree of the current application form. Clicking an object displays all its properties, available for localizing, in the 'Property Name' list. Check the properties of the current object to add them to the grid above, where you can edit their string values for different languages.

Right-clicking an object you can add it to the Excluded list ('Exclude' item) or, if it already excluded, remove it from the list ('Include' item). If you right-click an object, containing subobjects, you can also exclude all its subobjects or remove all the subobjects from the Excluded list ('Exclude all' and 'Include all' items).

 

Set the localized values of the component properties in the proper grid cells. Choose 'Active language' from the drop-down list of available languages to apply the property values of this language file to the current form. Click 'Save' to save all the changes you made to the language file.

 

Options

On this tab you can specify the following Save Options:

 

Save empty values - if this option is checked then empty property values will be also saved to the language file.

Include frames - if this option is checked then the property values of the owner's form frames will be also saved to the language file.

 

Clear section before save - if this option is checked, then the strings associated with the instance of this class via Source property are cleared before save.

 


See also:

TQFormLocalizer component

Language Source Editor