Page 1 of 1

French Export

Posted: Fri Dec 06, 2013 7:40 pm
by 16567597
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.

Re: French Export

Posted: Tue Dec 10, 2013 11:04 am
by yeray
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.

Re: French Export

Posted: Mon Dec 16, 2013 8:33 pm
by 16567597
Yes sure no problem. Is there any king of reward for that ?

Re: French Export

Posted: Tue Dec 17, 2013 9:42 am
by yeray
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.

Re: French Export

Posted: Fri Mar 28, 2014 1:43 pm
by 16567597
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,

Re: French Export

Posted: Mon Mar 31, 2014 10:39 am
by yeray
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 14690 times

Re: French Export

Posted: Mon Mar 31, 2014 12:42 pm
by 16567597
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 14681 times
2) list box item not translated (in the filters dialog)
TeechartExportGlitch #1.png
TeechartExportGlitch #1.png (46.6 KiB) Viewed 14685 times

Thanks for you help !

Re: French Export

Posted: Mon Mar 31, 2014 3:00 pm
by yeray
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;

Re: French Export

Posted: Mon Mar 31, 2014 7:43 pm
by 16567597
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,

Re: French Export

Posted: Tue Apr 01, 2014 3:26 pm
by 16567597
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,

Re: French Export

Posted: Wed Apr 02, 2014 8:02 am
by yeray
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.

Re: French Export

Posted: Wed Apr 02, 2014 8:09 am
by yeray
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+