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 Page:    1  2  3  Next Page Last Page  
New Topic Reply Printer Friendly
Button position - 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: Tue Feb 14th, 2017 08:57 am
PM Private Upload Quote Reply
halley73
Member
 

Joined: Fri Aug 8th, 2014
Location:  
Posts: 46
Status: 
Offline
Hi,
I've a form with two buttons like this

https://ibb.co/jcUqDv

When I localize it with Sisulizer button are moved up like in the image

https://ibb.co/jPYvfa

What can be?

Thank you

Back To Top PM Private Upload Quote Reply

 Posted: Tue Feb 14th, 2017 01:53 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 3005
Status: 
Offline
Hi,

perhaps you or your translater has set the Top value of the control by accident. Check that your filter that it shows integers in the grid and then check if the .Top or .Left properties have been set.

Sisulizer uses the original resources as a blue print and changes properties that are needed to localize. It can not change the layout except what is controlled by property values.

You also might want to look with a Resource Hacker (e.g http://www.angusj.com) with the localized files to see how the locslized resources looks like. You then can see if the resource is wrong or something is moving the buttons at runtime.

Markus

 

Attachment: 0075.jpg (Downloaded 64 times)



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

 Posted: Tue Feb 14th, 2017 02:31 pm
PM Private Upload Quote Reply
halley73
Member
 

Joined: Fri Aug 8th, 2014
Location:  
Posts: 46
Status: 
Offline
I've checked component properties by clicking on Property voice on the popup menu that I can visualize by right clicking on the button.
I don't know how to show property in main window as in your picture.
With my method I don't find any change in Top property of the button.

Back To Top PM Private Upload Quote Reply

 Posted: Tue Feb 14th, 2017 02:44 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 3005
Status: 
Offline
Perhaps your project did not read Integers at all (its an option in the project settings).

Please zip your original, the localized binary and your .slp. Use Private Upload button right above this post to send the files. We'll take a look.

Markus



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

 Posted: Wed Feb 15th, 2017 08:32 am
PM Private Upload Quote Reply
Janusz Grzybek
Super Moderator


Joined: Fri Dec 1st, 2006
Location: Zabrze, Poland
Posts: 3752
Status: 
Offline
Hello,

Thank you for files. You are right, there are only 3 strings changed. Output file looks internally like original, but I can't test real behavior of this DLL with working application. I'll ask our R&D about this.

I don't know how to show property in main window as in your picture.
Check "Integer" checkbox in the Filer Pane. Here is article about common filter types: http://www.the-localization-tool.com/filter-panel-common-filters-for-translation-sheet/

With my method I don't find any change in Top property of the button.
You can also compare original and localized form directly in the Sisulizer. Right click on the form in the Project Tree and select "Show as Text" -> "Compare..." All differences will be indicated by red font. For comparing files you need first build output file. Here is article: http://www.the-localization-tool.com/comparing-source-and-localized-resources/

Best regards,
Janusz



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

 Posted: Wed Feb 15th, 2017 01:10 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 3005
Status: 
Offline
Hi,

I also made a quick test. I took the DLLs you send and made a new Sisulizer project from them (since dialogs are stored in resources Resource Hacker does not render).
Both looks the same from button positions etc. in the WYSIWYG of Sisulizer. Is there a slide chance that you change the button position or hide the cancel button in code at runtime?

Markus



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

 Posted: Wed Feb 15th, 2017 02:15 pm
PM Private Upload Quote Reply
Steve67
Member
 

Joined: Wed Feb 15th, 2017
Location:  
Posts: 16
Status: 
Offline
Hi,
I have the same problem in three different Delphi project.
The checkbox "integer" don't solve my problem in any case
Top property for any components is not visibile in Sisulizer Components->Property
I have controlled any options suggested in previous post without success

Any ideas ?

Best Regards,
Stefano Fanti

Back To Top PM Private Upload Quote Reply

 Posted: Wed Feb 15th, 2017 02:20 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 3005
Status: 
Offline
Do you perhaps have a simple sample Delphi project (incl. source code) just consisting of such dialog that our R&D can look into it and debug it? If yes, can you please upload it using Private Upload.

Markus



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

 Posted: Wed Feb 15th, 2017 02:21 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 3005
Status: 
Offline
Can you also please share your Sisulizer build and the Delphi version you are using.

Markus



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

 Posted: Wed Feb 15th, 2017 02:35 pm
PM Private Upload Quote Reply
Steve67
Member
 

Joined: Wed Feb 15th, 2017
Location:  
Posts: 16
Status: 
Offline
Hi,
Sisulizer 4.0 Build 365
Embarcadero Delphi Berlin 10.1 update 1

My project is very complex and i can not be disclosed for security reasons.
Sorry...

I have made one project with only one form and in this case i had non problems
If I add one or more form the problem reappears.
Very strange ....

Best Regards,
Stefano Fanti

Back To Top PM Private Upload Quote Reply

 Posted: Wed Feb 15th, 2017 02:40 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 3005
Status: 
Offline
A sample with three dialogs showing the issue would also help. As you said this is strange and we need to find a way to reproduce that.

Markus



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

 Posted: Wed Feb 15th, 2017 02:58 pm
PM Private Upload Quote Reply
Steve67
Member
 

Joined: Wed Feb 15th, 2017
Location:  
Posts: 16
Status: 
Offline
Hi,
I sent a portion of the project that has the problems
Thanks for collaborations ...

Best Regards,
Stefano Fanti

Back To Top PM Private Upload Quote Reply

 Posted: Wed Feb 15th, 2017 03:06 pm
PM Private Upload Quote Reply
Steve67
Member
 

Joined: Wed Feb 15th, 2017
Location:  
Posts: 16
Status: 
Offline
Hi,
These are two images that confirm the fact that the Top property is not handled





Best Regards,
Stefano Fanti

Back To Top PM Private Upload Quote Reply

 Posted: Wed Feb 15th, 2017 03:57 pm
PM Private Upload Quote Reply
Ilkka.Salmenius
Administrator


Joined: Wed Aug 8th, 2007
Location: Tokyo, Japan
Posts: 1961
Status: 
Offline
For halley73:

Thank you for the same. However when I looked the TFormFilterCaption forms (original DLL and French DLL) the sizes and positions of both button were identical.

Two possible reasons

1) Is it some other form that show the problem. If yes please tell the name of the form

2) Do you move the button on runtime?

Ilkka



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

 Posted: Wed Feb 15th, 2017 04:09 pm
PM Private Upload Quote Reply
Ilkka.Salmenius
Administrator


Joined: Wed Aug 8th, 2007
Location: Tokyo, Japan
Posts: 1961
Status: 
Offline
For Steve67:

Same thing here. I used your sample, created English EXE and then compared original and English TPasswordDialog form. They were identical. I see that your component do not have real positions in DFM but you do the layout on runtime (e.g. moves the control on the right places). Can you check that code if it works correctly.

Ilkka



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

 Posted: Thu Feb 16th, 2017 06:43 am
PM Private Upload Quote Reply
Steve67
Member
 

Joined: Wed Feb 15th, 2017
Location:  
Posts: 16
Status: 
Offline
Hi,
Thanks for your reply

I checked all the source and Form are in the prescribed positions and I do not have code that moves them at runtime.
By controlling the DFM both visually (in the IDE of Delhi) and in text format the Top and Left properties are visible and are not changed at runtime.
If I try with a simple test program that contains a single Form, from Sisulizer I can see the same properties on the selected component which does not happen with the project I have sent.
In addition, the same problem is present in the previous build 364

Best Regards,
Stefano Fanti

Last edited on Thu Feb 16th, 2017 06:44 am by Steve67

Back To Top PM Private Upload Quote Reply

 Posted: Thu Feb 16th, 2017 08:33 am
PM Private Upload Quote Reply
halley73
Member
 

Joined: Fri Aug 8th, 2014
Location:  
Posts: 46
Status: 
Offline
Ilkka.Salmenius wrote:
For halley73:

Thank you for the same. However when I looked the TFormFilterCaption forms (original DLL and French DLL) the sizes and positions of both button were identical.

Two possible reasons

1) Is it some other form that show the problem. If yes please tell the name of the form

2) Do you move the button on runtime?

Ilkka


Hi Illka :-)

At the moment I don't have other form signaled by customer, so I don't know.
I've checked the code and I'm sure to not move the buttons a runtime.
It seem that the localized version don't consider the window title bar for top calculation.

Back To Top PM Private Upload Quote Reply

 Posted: Mon Feb 20th, 2017 03:04 pm
PM Private Upload Quote Reply
halley73
Member
 

Joined: Fri Aug 8th, 2014
Location:  
Posts: 46
Status: 
Offline
Hi Illka,
I've found another form the have same issue uFrmSendDateToLis.

Thank you :-)

Back To Top PM Private Upload Quote Reply

 Posted: Tue Feb 21st, 2017 01:43 pm
PM Private Upload Quote Reply
Steve67
Member
 

Joined: Wed Feb 15th, 2017
Location:  
Posts: 16
Status: 
Offline
Hi,
I wanted to know if there are any news about this bug
Before long I have to start working with a localization Sisulizer but in this situation I can not proceed.

Best regards,
Stefano Fanti

Back To Top PM Private Upload Quote Reply

 Posted: Tue Feb 21st, 2017 01:50 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 3005
Status: 
Offline
At this time we can't reproduce it.

Can you please add some code to your dialog that outputs the location and the visiblity status of the missing button at runtime after the dialog is completely drawn (e.g. text log file). We need to find what makes the button disappear.

What happens if you set the location of the button at runtime. You could use that as a work around.

Markus



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

Current time is 09:53 pm Page:    1  2  3  Next Page Last Page    
.NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Bugs and Quirks in Sisulizer > Button position



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

Sisulizer software localization tool - Three simple steps to localize