French Export

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
zyma
Newbie
Newbie
Posts: 8
Joined: Thu Oct 17, 2013 12:00 am

French Export

Post by zyma » Fri Dec 06, 2013 7:40 pm

We are using the lastest version of Tchart and if we call the Export dialog, the French translation is not correct. All the captions except the Format listbox are in English. We look at the TeeFrench.pas and TeeEnglish and also TeeSpanish and in the TeeFrench is't missing lots of translations.. Example the variable TeeMsg_ADOConnection is not in TeeFrench.pas but in the others.

Also the Print Preview as not been translated.

See the enclosed Project.
Attachments
bugExportFrench.zip
(58.13 KiB) Downloaded 611 times

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

Re: French Export

Post by Yeray » Tue Dec 10, 2013 11:04 am

Hello,

Right. It seems there are some variables not translated to French.
If you are interested on helping us to improve the translation, please don't hesitate to let us know and we'll send you the necessary files for it.
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

zyma
Newbie
Newbie
Posts: 8
Joined: Thu Oct 17, 2013 12:00 am

Re: French Export

Post by zyma » Mon Dec 16, 2013 8:33 pm

Yes sure no problem. Is there any king of reward for that ?

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

Re: French Export

Post by Yeray » Tue Dec 17, 2013 9:42 am

Hello,

We are working on a new translation system to make easier for you to help us translate variables. We'll contact you as soon as we'll make a decision on this.
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

zyma
Newbie
Newbie
Posts: 8
Joined: Thu Oct 17, 2013 12:00 am

Re: French Export

Post by zyma » Fri Mar 28, 2014 1:43 pm

Hi,

I've just installed the 2014 release (Build 201.10.140220) and while the translation seems to be there for the French language, the export dialog is still completely in English, except for the name of the export format (in the listbox)...

Did I miss something ???

Regards,

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

Re: French Export

Post by Yeray » Mon Mar 31, 2014 10:39 am

Hello,

I've tried to reproduce it, but the following seems to work fine for me here:

Code: Select all

uses EditChar, TeeTranslate, TeeFrench;

procedure TForm1.Button1Click(Sender: TObject);
begin
  EditChart(Self, Chart1);
end;

procedure TForm1.FormCreate(Sender: TObject);
begin
  TeeSetFrench;
end;
2014-03-31_1237.png
2014-03-31_1237.png (8.99 KiB) Viewed 14887 times
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

zyma
Newbie
Newbie
Posts: 8
Joined: Thu Oct 17, 2013 12:00 am

Re: French Export

Post by zyma » Mon Mar 31, 2014 12:42 pm

Hi,

the use of teeTranslate was the key... without it, the translation isn't done... !

I've note 2 small glitchs in the french dialogs:

1) Checkbox size too small for translation
TeechartExportGlitch #2.png
TeechartExportGlitch #2.png (33.07 KiB) Viewed 14878 times
2) list box item not translated (in the filters dialog)
TeechartExportGlitch #1.png
TeechartExportGlitch #1.png (46.6 KiB) Viewed 14882 times

Thanks for you help !

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

Re: French Export

Post by Yeray » Mon Mar 31, 2014 3:00 pm

Hi
zyma wrote:1) Checkbox size too small for translation
TeechartExportGlitch #2.png
Corrected for the next maintenance release. Thanks for reporting it.
zyma wrote:2) list box item not translated (in the filters dialog)
TeechartExportGlitch #1.png
You can declare set the HIDDEN variable as follows:

Code: Select all

uses EditChar, TeeTranslate, TeeFrench, TeeConst;

procedure TForm1.Button1Click(Sender: TObject);
begin
  EditChart(Self, Chart1);
end;

procedure TForm1.FormCreate(Sender: TObject);
begin
  TeeSetFrench;
  TeeFrenchLanguage.Text:=TeeFrenchLanguage.Text+'HIDDEN=Caché'+NewLine;
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

zyma
Newbie
Newbie
Posts: 8
Joined: Thu Oct 17, 2013 12:00 am

Re: French Export

Post by zyma » Mon Mar 31, 2014 7:43 pm

Hi,

Seems that all the constants declare since "6.0" through "v10" haven't been translated in French... Some seems to have been translate into some other language...

I supposed I need to compare the TeeConst unit and TeeFrench... and set the missing variables when calling TeeSetFrench ?? ..

Regards,

zyma
Newbie
Newbie
Posts: 8
Joined: Thu Oct 17, 2013 12:00 am

Re: French Export

Post by zyma » Tue Apr 01, 2014 3:26 pm

Hi,

Found 2 other small glitches (one is size, the other is captions not translated.)

I've started comparing the units... what is the best way to process, I'll translate and fix my code to fit my immediate needs (I really need to release the software) , but what's next... can we except a complete fix soon... ???

Regards,
Attachments
TeechartExportGlitch #4.png
TeechartExportGlitch #4.png (23.67 KiB) Viewed 14852 times
TeechartExportGlitch #3.png
TeechartExportGlitch #3.png (24.49 KiB) Viewed 14850 times

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

Re: French Export

Post by Yeray » Wed Apr 02, 2014 8:02 am

Hi,
zyma wrote:I supposed I need to compare the TeeConst unit and TeeFrench... and set the missing variables when calling TeeSetFrench ?? ..
We are working on an utility that identifies what are the missing strings in a language, and helps you to populate them and creates the new unit for you.
But this isn't finished yet so I'm afraid the way to go for the moment is, as you say, to manually add the missing strings to the language file.
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

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

Re: French Export

Post by Yeray » Wed Apr 02, 2014 8:09 am

zyma wrote:1) Checkbox size too small for translation
TeechartExportGlitch #2.png
I've set this label wider to fit it with the next maintenance release.
Thanks for reporting it.
zyma wrote:2) list box item not translated (in the filters dialog)
TeechartExportGlitch #1.png
Add this to TeeFrench.pas:

Code: Select all

'HIDDEN=Caché'+NewLine+
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