How To…Change the TeeChart Language

Question

“How do I change the language translation for the TeeChart editor?”

Solution

TeeChart contains built in translations that can be enabled by including the proper units in your application, then registering them using the routines available in teh TeeTranslate unit.  Take a look at the \Lib directory located inside your TeeChart root install directory for the various languages available with your version of TeeChart.

Download:

Sample Delphi code:

uses
  TeeTranslate, 
  TeeBrazil;

procedure TForm1.Button1Click(Sender: TObject);
begin

  {English,0
  Brazilian,1
  Catalan,2
  Chinese Simp.,3
  Chinese Trad.,4
  Danish,5
  Dutch,6
  French,7
  German,8
  Italian,9
  Portuguese,10
  Russian,11
  Spanish,12
  Swedish,13 }

  TeeLanguageSaveRegistry(1);

  TeeSetBrazil;

  ppDesigner1.Showmodal;

end;