Table of Contents

Getting started with the Editor

This page covers the shortest path to opening the translation editor over a collector. For the details — the modal result, saving changes, and the callback overload — see the user guide.

Prerequisites

  • TMS FNC Core installed and the runtime package added to the project.
  • TMS FNC Localization installed.
  • A Collector that has gathered the application's translatable strings (see the Collector getting started).

Add the component

Drop a TTMSFNCLocalizationEditor from the TMS FNC Localization palette tab. At design time you can open the editor directly from the IDE; to open it from your own UI, call Execute:

procedure TForm1.EditTranslations;
begin
  { Open the editor. It analyzes the application when it opens, lets the user
    translate, and (on VCL and FMX) saves the translations to the collector's
    folder when it closes - no manual analyze or save is required. }
  Editor.Execute;
end;

You do not call AnalyzeApplication or save the translations yourself: the editor analyzes the application when it opens and, on VCL and FMX, saves the translations to the collector's folder when it closes (on TMS WEB Core the editor offers a Download button instead, since browsers cannot write files silently). Execute returns no result; the Modified property reports whether anything changed — use it to react in your app (for example, to refresh the running UI), not to trigger a save. Note that Execute only blocks in a design-time host: at run time it returns while the editor is still open, so read Modified from the callback it accepts rather than from the next line.

See also