TiPlotComponent.LoadTranslationsFromFile

TiPlotComponent

Streams out all translation pairs to a text file.

procedure LoadTranslationsFromFile(FileName: String);

Description

Call LoadTranslationsFromFile to stream in all of the translation pairs of the component from a file.

A translation is made up of an Original String (the English representation used in our components) and a Replacement String (the translated string, can be English if you are simply wanting to change the string or any other language.

This file is in a proprietary text format and is generally used to load translations recoded toa file with the SaveTranslationsToFile method.

Note: we recommend that you load the translations using our built-in property editor so that you can take advantage of storing the translations into your compiled application's form rather than loading from a separate file at runtime.

Example

Delphi

iComponent.LoadTranslationsFromFile('C:\TextFile.txt'); //Load Translations

Kylix

iComponent.LoadTranslationsFromFile('/home/username/textfile'); //Load Translations

C++ Builder

iComponent->LoadTranslationsFromFile("C:\\TextFile.txt"); //Load Translations

Contents | Index | Previous | Next