Skip to main content
Table of Contents

TTMSFNCLocalizationCollector.ExportRuntimeFiles Method

Writes one language file per language into the runtime language files folder next to the translation data file.

API unit family: TMS.TMSFNCLocalizationCollector Declaring type: TTMSFNCLocalizationCollector

Syntax

TMS.TMSFNCLocalizationCollector.hppPascalC++
function ExportRuntimeFiles(out ALines: Integer): Integer;
int __fastcall ExportRuntimeFiles(/* out */ int &ALines);

Remarks

Produces the same separate language files as the Localization Editor's Export Runtime Files button, so a build step or tool can refresh them without opening the editor. Load the translation data first, for example with LoadSettings. Desktop applications only.

Parameters

Name Description
ALines Receives the total number of text lines written across all files.

Returns

The number of language files written; 0 when no translation data file is loaded.