|
|||
Moderated by: Sisusupport, Renate.Reinartz, Markus.Kreisel, Ilkka.Salmenius |
Author | Post | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
petr77 Member
|
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 ![]()
|
I have to ask R&D about that. Markus |
|||||||||
Markus.Kreisel Administrator ![]()
|
Hi, Can you please try to exclude bitmaps from your project setting (project - edit source - <your source> ![]() Also check if your png have the same size and DPI. Markus |
|||||||||
petr77 Member
|
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 ![]()
|
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
|
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 ![]()
|
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 ![]()
|
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
|
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 ![]()
|
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
|
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 ![]()
|
Great! Thanks for your positive feedback. Markus |
Sisulizer software localization tool - Three simple steps to localize