Online Documentation for Advanced Localizer for RAD Studio VCL

TQCustomLanguageSource component

 

Properties                Methods                Events


Unit

QLocal

 

Description

 

The TQCustomLocalizer is intended for reading (writing) string sets from (to) the language files, localizing all the instances of the TQCustomLocalizer components where TQCustomLanguageSource component is set as Source and saving all the string sets received from these components.

This class is abstract, so you can't create an instance of this class - you should use its descendant - TQLanguageSource, or create your own descendant component.

The structure of the language file is not defined, but you can define it yourself, if you create your own descendant component and override such methods as OpenLanguageFile, CloseLanguageFile, LoadString, SaveString, SaveStrings and (optionally) GetFormSection and SetFormSection.