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.


 Moderated by: Sisusupport, Renate.Reinartz, Markus.Kreisel, Ilkka.Salmenius  
AuthorPost
petr77
Member
 

Joined: Sat Feb 4th, 2012
Location:  
Posts: 8
Status: 
Offline
Hello,

We converted our project to Delphi Rio 10.3 and we changed approach of using icons on buttons (we use external png files with a different size. The size depends on the resolution and DPI of the screen).
When I prepared translation in Sisulizer, I met a problem, that some icons disappeared and some changed the size.
It is clearly visible in the attached document. The first screenshot is always without resources and the second one is with resources. All buttons in our program are prepared the same way.
I tried to create a new Sisulizer project where I only translated problematic buttons and the result is the same.
Could you please help me to solve this problem? Perhaps there is some setting in the Sisulizer to avoid it.
Thank you.
Best regards,
Petr
IFER

Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 3301
Status: 
Offline
I have to ask R&D about that.

Markus

Markus.Kreisel
Administrator


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

Can you please try to exclude bitmaps from your project setting (project - edit source - <your source>;) and the do a scan for changes. Sisulizer should not touch you icon. This could be a work around.
Also check if your png have the same size and DPI.

Markus

petr77
Member
 

Joined: Sat Feb 4th, 2012
Location:  
Posts: 8
Status: 
Offline
Hi Markus,thank you for your replay. In resources we have active only "String resources" and "Data resources".The physical size of the icons is mostly 24x24px, but SW increase it if necessary, but always the same way. I compared "missing" icons and these who appeared without problem and all are the same size.
Regards,
Petr

Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 3301
Status: 
Offline
Thats odd, since Sisulizer uses the original resources as a blueprint. It doesn`t add any logic to size or modify pictures.

If it is not in your Sisulizer project these resources are not touched. Have you checked with a resource editor your resources in the generated binaries?

Markus

petr77
Member
 

Joined: Sat Feb 4th, 2012
Location:  
Posts: 8
Status: 
Offline
Unfortunately I don't know how to check binary resources generated by Sisulizer. Could you please advise some resource editor or check the resource file? I put it for download here http://ifer.cz/ftp/sisulizer.php
Thank you.Petr

Last edited on Fri May 10th, 2019 01:05 pm by petr77

Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 3301
Status: 
Offline
Its always good to have a resource tool at hand as a developer. Here is a freeware one:

http://www.angusj.com/resourcehacker/

Markus

Janusz Grzybek
Super Moderator


Joined: Fri Dec 1st, 2006
Location: Zabrze, Poland
Posts: 3866
Status: 
Offline
You can also try check it directly in the Sisulizer. Right click desired form in the Project tree and select "Show as text" (or optionally "Show as binary") -> "Compare...". If you would compare source and output files, output location should contain localized file (built by Sisulizer).
Janusz

petr77
Member
 

Joined: Sat Feb 4th, 2012
Location:  
Posts: 8
Status: 
Offline
Thank you Janusz.
But in the menu "Show as text" or "Show as Binary" is active only "Original...". How can I make active "Localized" and "Compare".Thanks.Petr

Janusz Grzybek
Super Moderator


Joined: Fri Dec 1st, 2006
Location: Zabrze, Poland
Posts: 3866
Status: 
Offline
First, you need build your Sisulizer project file via e.g. Project menu ( https://www.the-localization-tool.com/how-i-can-create-localized-versions-of-my-files ). "Localized" and "Compare" menu items are not active, if Sisulizer output files location is empty.
Janusz

petr77
Member
 

Joined: Sat Feb 4th, 2012
Location:  
Posts: 8
Status: 
Offline
Great, thank you. It helped.
The problem was that Sisulizer scanned and automatically translated the property with the icon file name.
I did not know there is an option to exclude components/properties. I will try to improve my project...
Thanks again to Markus and Janusz for help.
Petr

Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 3301
Status: 
Offline
Great!

Thanks for your positive feedback.

Markus



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