Support forum of the software localization tool Sisulizer


.NET, Delphi, ... - Sisulizer Localization Tool Support Home

Get in contact with the makers of Sisulizer.
Our forum is open for all questions around Sisulizer from customers and prospects.
Don't hesitate to register and ask. The Sisulizer team will answer ASAP.

Search     Help Home Sisulizer Website Download
Search by username
Not logged in - Login | Register 

 Moderated by: Sisusupport, Renate.Reinartz, Markus.Kreisel, Ilkka.Salmenius
New Topic Reply Printer Friendly
Problem with the component TChart - Bugs and Quirks in Sisulizer - Technical Support (You need to be registered at the forum to write) - .NET, Delphi, ... - Sisulizer Localization Tool Support
AuthorPost
 Posted: Wed Sep 10th, 2008 05:46 am
PM Private Upload Quote Reply
Alexco
Member
 

Joined: Thu Sep 4th, 2008
Location:  
Posts: 3
Status: 
Offline
Good morning

I work in C + + Builder 2006. When I use a component TChart and that I change the language in the application, 2 chain TChart does not translate :

- Forms.TFORM1.Chart1.BottomAxis.Title.Caption
- Forms.TFORM1.Chart1.LeftAxis.Title.Caption

Here is the code of a simple application with the default :

//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "Unit1.h"
#include "LaDialog.hpp"
//---------------------------------------------------------------------------
#pragma link "LaDialog"
#pragma link "LaCommon"
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm1 *Form1;
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
    : TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TForm1::Button5Click(TObject *Sender)
{
    CheckResourceCount();
    if (SelectResourceLocale(""))
    {
        SetCurrentDefaultLocaleReg();
    }
    FormCreate(this);
}
//---------------------------------------------------------------------------
void __fastcall TForm1::FormCreate(TObject *Sender)
{
    Label1->Caption = GetActiveResourceLocale();   
}
//---------------------------------------------------------------------------

The project Sisulizer contains 3 languages: German, English and French. It generates resource DLL files

Can you help me?

Thanks in advance

Attachment: Project2.slp (Downloaded 3 times)

Back To Top PM Private Upload Quote Reply

 Posted: Wed Sep 10th, 2008 06:08 am
PM Private Upload Quote Reply
Sisusupport
Administrator
 

Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 2261
Status: 
Offline
I managed to reproduce and I am fixing it now.

Jaakko



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Wed Sep 10th, 2008 07:10 am
PM Private Upload Quote Reply
Sisusupport
Administrator
 

Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 2261
Status: 
Offline
The problem was in TLaTranslator object. It failed to translate property that had object and object's parent (e.g. <parent>.<object>.<property> - BottomAxis.Title.Caption). I fixed it and here is the new LaTranslator.pas. Replace your old one and compiel OBJ files for C++Builder again.

Jaakko

Attachment: new.zip (Downloaded 3 times)



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Wed Sep 10th, 2008 07:48 am
PM Private Upload Quote Reply
Alexco
Member
 

Joined: Thu Sep 4th, 2008
Location:  
Posts: 3
Status: 
Offline
Thank you for your prompt response, but for me its still not working.

To help you I give you my project file.

Back To Top PM Private Upload Quote Reply

 Posted: Wed Sep 10th, 2008 08:05 am
PM Private Upload Quote Reply
Sisusupport
Administrator
 

Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 2261
Status: 
Offline
I tested you application and it worked. Make sure that you compile Sisulizer's VCL units in <sldir>\VCL. The directory contains CompCB.bat that compiles .pas files to .obj and creates header files (.hpp). After that recompile your C++Builder project.

Make also sure that you copy the new LaTranslator.pas to <sldir>\VCL before compiling .pas files.

Jaakko



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Wed Sep 10th, 2008 08:13 am
PM Private Upload Quote Reply
Janusz Grzybek
Super Moderator


Joined: Fri Dec 1st, 2006
Location: Zabrze, Poland
Posts: 3818
Status: 
Offline
Hi,

For security of your project I removed attachment from your post.

Best,

Janusz



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Wed Sep 10th, 2008 10:46 am
PM Private Upload Quote Reply
Alexco
Member
 

Joined: Thu Sep 4th, 2008
Location:  
Posts: 3
Status: 
Offline
Following your advice my application works

Thank you for your help effective and expeditious

Best regards

Back To Top PM Private Upload Quote Reply

 Posted: Thu Sep 11th, 2008 11:06 am
PM Private Upload Quote Reply
Janusz Grzybek
Super Moderator


Joined: Fri Dec 1st, 2006
Location: Zabrze, Poland
Posts: 3818
Status: 
Offline
Hello,
From build 271 TLaTranslator can to translate property that have parent object and parent's parent.
Janusz



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

Current time is 07:14 am  
.NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Bugs and Quirks in Sisulizer > Problem with the component TChart



WowUltra modified by Sisulizer Copyright © 2007-18 by Jim Hale - Based on WowBB Copyright © 2003-2006 Aycan Gulez

Impress - Privacy statement

Sisulizer software localization tool - Three simple steps to localize