Language - change at runtime - load language file

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
werner
Newbie
Newbie
Posts: 3
Joined: Thu Oct 11, 2007 12:00 am

Language - change at runtime - load language file

Post by werner » Mon Oct 29, 2007 2:51 pm

I can change the languages at runtime using:
TeeSetxxxx() where xxxx is the language.
Not knowing what language the user like to set, I need to include all supported languages.pas files, wich seem to me a overhead.

Is there a way I could load a language file dynamically when using the TeeChart. Example from a ini file. So Teechart get his variables from a inifile and not from linked .pas files ?

Pep
Site Admin
Site Admin
Posts: 3299
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Wed Nov 07, 2007 4:17 pm

Hi werner,

there's not a way to load the languages dynamically from external file, but you can always make use of the "build with runtime packages" option of the IDE and add the TeeLanguage87 package (which you will have to distribute with your app). This will help to obtain a smaller EXE.

Post Reply