Recursive translation

Top  Previous  Next

A recursive translation starts the translation of a selected file and looks up all the files from which it depends and translates them too. The start file and a target folder are selected by the

 

Start parameter dialog.

 

When the recursive translation is started, at first the start file is processed like described for the translation of a single file. But in contrast to that case, all files that are used in the first file are remembered and as soon as the conversion of start file is completed the translation of the first remembered file is started. Only files that are found in the set of folders of files, which might be be translated are remembered. All files from which this second file depends are remembered too, and so on. The result of the translation of the start file is written into the target folder and the results of the other translations are written into folders, with retention of the original relative file structure. This class is called TCustomDynFrame here.

 

For example the class TFancyFrame from the Embarcadero frame demo then becomes to:

 

class TFancyFrame : public TCustomDynFrame

{

__published:

public:

  TDBMemo* DBMemo1;

  TDBImage* DBImage1;

  TSplitter* Splitter1;

private:

    /* Private declarations */

public:

    /* Public declarations */

  typedef TCustomDynFrame inherited;  

  __fastcall TFancyFrame(TComponent* AOwner, int Dummy);

};

 

 

 

 

 

 

 

 

 

 



This page belongs to the Delphi2C# Documentation

Delphi2C# home  Content