Page 1 of 1

Can't get translation to work in bpl

Posted: Fri Sep 30, 2005 2:11 pm
by 9337832
The following code works in a test application but not in a runtime bpl:

Declaration in form:

Code: Select all

dbChartPreviewer: TChartPreviewer;
In implementation uses clause:

Code: Select all

TeeFrench, TeeProCo;
Code to switch to french:

Code: Select all

TeeSetFrench;
MessageDlg('Did TeeSetFrench.', mtInformation, [mbOK], 0);
dbchartpreviewer.execute;
When I run the application using the bpl, the message dialog is displayed, but the chart previewer still displays in english. When I run the test application using the same code, the chart previewer displays in French as I expected. Any suggestions?

Thanks in advance.

Posted: Mon Oct 03, 2005 10:15 am
by Pep
Hi Chuck,

it works fine here using the latest TeeChart Pro v7 (with Delphi7). I've posted an example into the news://www.steema.net/steema.public.attachments newsgroup (with the same subject). Could you please check if it works fine for you ?