Can't get translation to work in bpl

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Chuck
Newbie
Newbie
Posts: 1
Joined: Mon Jun 14, 2004 4:00 am
Location: Ottawa, Canada

Can't get translation to work in bpl

Post by Chuck » Fri Sep 30, 2005 2:11 pm

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.

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

Post by Pep » Mon Oct 03, 2005 10:15 am

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 ?

Post Reply