Page 1 of 1

Language - change at runtime - load language file

Posted: Mon Oct 29, 2007 2:51 pm
by 10547012
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 ?

Posted: Wed Nov 07, 2007 4:17 pm
by Pep
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.