MultiLanguage problems

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
ramdevteam
Newbie
Newbie
Posts: 8
Joined: Wed May 28, 2008 12:00 am

MultiLanguage problems

Post by ramdevteam » Thu Aug 20, 2009 10:17 am

Hi,

I developp with BDS2006. for french.
In my app (VCL.NET), I want french screen but all teechart screens are in english.

I try code found in all features\..\Multilangage but without success.
At runtime, form are in english.

In my frame, I have drop an TchartEditor component
For Tchart component, I create it at runtime :
I use :

Code: Select all

uses
 Teeconst, TeeProcCo, TeeTranslate,  TeeFrench,

  chart1 := Tchart.create(self);
  [..] 
  charteditor1.chart := chart1;
  TeeSetFrench;
I have missed something ?

Thanks

(Teechart 8.05 with fullcode)

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: MultiLanguage problems

Post by Yeray » Fri Aug 21, 2009 8:17 am

Bonjour ramdevteam,

Could you please try the following example? This seems to work fine here:

Code: Select all

uses Chart, TeeEdit, TeeTranslate, TeeFrench;

var ChartEditor1: TChartEditor;
    Chart1: TChart;

procedure TForm1.FormCreate(Sender: TObject);
begin
  Chart1 := TChart.Create(self);
  Chart1.Parent := Form1;

  ChartEditor1 := TChartEditor.Create(self);

  TeeSetFrench;

  ChartEditor1.Chart := Chart1;
  ChartEditor1.Execute;
end;
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

ramdevteam
Newbie
Newbie
Posts: 8
Joined: Wed May 28, 2008 12:00 am

Re: MultiLanguage problems

Post by ramdevteam » Fri Aug 21, 2009 9:12 am

Thanks for your answer.

I've try but
TchartEditor is always in english.

My complete code :

Code: Select all

unit testCodeU;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, Chart, TeeEdit, TeeTranslate, TeeFrench;

type
  TForm5 = class(TForm)
    procedure FormCreate(Sender: TObject);
  private
    { Private declarations }
    ChartEditor1: TChartEditor;
    Chart1: TChart;
  public
    { Public declarations }
    class procedure Showform;
  end;



implementation

{$R *.nfm}

procedure TForm5.FormCreate(Sender: TObject);
begin
  Chart1 := TChart.Create(self);
  Chart1.Parent := self;

  ChartEditor1 := TChartEditor.Create(self);

  TeeSetFrench;

  ChartEditor1.Chart := Chart1;
  ChartEditor1.Execute;
end;

class procedure TForm5.Showform;
var
  Form5: Tform5;
begin
   Form5:= Tform5.create(application);
   with Form5 do
   try
     showmodal;
   finally
     release;
   end;

end;


end.
The screen is called with :

Code: Select all

begin
   Tform5.showform;
end;
Best regards

ramdevteam
Newbie
Newbie
Posts: 8
Joined: Wed May 28, 2008 12:00 am

Re: MultiLanguage problems

Post by ramdevteam » Fri Aug 21, 2009 9:27 am

I have retry with 2 new projects :

- first project : VCL for win32 => Your code works fine and ChartEditor is in french
- second project : VCL for NET (like my app) => ChartEditor stay in english


In the VCL.NET project :

Code: Select all

  TeeAskLanguage;
  MessageDlg('TeeLanguageRegistry:' + inttostr(TeeLanguageRegistry), mtWarning, [mbOK], 0);

  ChartEditor1 := TChartEditor.Create(self);
  ChartEditor1.Chart := Chart1;
  ChartEditor1.Execute;


in the langage list, French is pre-selected
When I clic on OK, the message is "TeeLanguageRegistry:7"


Project reference :
{%DelphiDotNetAssemblyCompiler 'c:\program files\steema software\teechart 8.05 for delphi 2006\delphi10\assemblies\Steema.TeeChart.VCL.dll'}
{%DelphiDotNetAssemblyCompiler 'c:\program files\steema software\teechart 8.05 for delphi 2006\delphi10\assemblies\Steema.TeeChart.VCL.Languages.dll'}

OS: Vista

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: MultiLanguage problems

Post by Narcís » Wed Aug 26, 2009 7:31 am

Hi ramdevteam,

Thanks for the information. I have checked it works fine in VCL for Win32 projects but also checked that it fails in VCL.NET project so I have added the defect (TV52014365) to the bug list to be fixed for next releases.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

ramdevteam
Newbie
Newbie
Posts: 8
Joined: Wed May 28, 2008 12:00 am

Re: MultiLanguage problems

Post by ramdevteam » Thu Aug 27, 2009 7:25 am

Thanks,

Do you have a public bug tracking system for viewing bugs status ?


Best Regards

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: MultiLanguage problems

Post by Yeray » Thu Aug 27, 2009 7:55 am

Hi ramdevteam,

No, there is no public bug tracking system. But we try to give the number of the bug labeled in the internal system to the customers sio that they can be aware at the release notes of the versions to see if the bug is expressly fixed.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

ramdevteam
Newbie
Newbie
Posts: 8
Joined: Wed May 28, 2008 12:00 am

Re: MultiLanguage problems

Post by ramdevteam » Thu Aug 27, 2009 8:01 am

Ok,

I have see that the other TeeChart component or popup are in english (TeeCommander Hint, Print Popup etc...)
Is it include in this ticket ?


Best Regards

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: MultiLanguage problems

Post by Yeray » Thu Aug 27, 2009 8:19 am

Hi ramdevteam,

The bug ticket says textually:
"Setting a language different than English doesn't work in VCL.NET, code to reproduce:
...
TeeSetFrench;
..."

I guess that fixing the translation procedure in general should solve the whole translation.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

ramdevteam
Newbie
Newbie
Posts: 8
Joined: Wed May 28, 2008 12:00 am

Re: MultiLanguage problems

Post by ramdevteam » Fri Feb 12, 2010 3:44 pm

Hi,

Have you fixed the bug TV52014365 ?
I haven't see it in the release.txt file of the TeeChart8.06Delphi2006.exe (Build 8.06.60902)
I need to deploy my software, but with teechart english screens, it's not very good for my french customers.

Best Regards

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: MultiLanguage problems

Post by Narcís » Mon Feb 15, 2010 9:39 am

Hi ramdevteam,

No, this is a high-priority item we will try to fix for next versions. We have investigated the issue a little bit but haven't found a solution to it yet.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

ramdevteam
Newbie
Newbie
Posts: 8
Joined: Wed May 28, 2008 12:00 am

Re: MultiLanguage problems

Post by ramdevteam » Mon Aug 09, 2010 10:24 am

Hi,

Have you some news about the bug TV52014365 ?


Best regards.

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: MultiLanguage problems

Post by Yeray » Mon Aug 09, 2010 5:33 pm

Hi ramdevteam,

The (TV52014365) bug has been already fixed. It will be available with the next maintenance release that should be published in the next weeks.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply