TTMSFNCLocalizationCollector.LocalizeResourceStrings Property
Whether the resource strings the compiler recorded are part of the translation data. True (default) imports them from the project's .drc file; False leaves resourcestrings out and makes ImportResourceStrings do nothing.
API unit family: TMS.TMSFNCLocalizationCollector
Declaring type: TTMSFNCLocalizationCollector
Type: Boolean
Syntax
property LocalizeResourceStrings: Boolean;
__property bool LocalizeResourceStrings = {read=FLocalizeResourceStrings, write=FLocalizeResourceStrings, default=1};
Default: True
Remarks
With this on, opening the Localization Editor reads the project's .drc - the list of every resourcestring linked into the binary - and brings the entries into the tree alongside the forms, so no source code is ever parsed and nothing has to be run first. Resource strings the file no longer contains are retired, but only when the .drc is newer than every source file in the project: against a stale one the import only adds. Nothing is needed at run time. The entries travel in the language files like any other text, and the application picks them up when it loads them.