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
MartinMX
Member
 

Joined: Wed Mar 25th, 2020
Location:  
Posts: 2
Status: 
Offline
Our Delphi project is DPI-aware. We achieve this by including a manifest in our executable (and of course responding to the DPI-changes in our code). This all works just fine and our application scales nicely.

However, the translated project is no longer DPI-aware. In Sisulizer we've configured the project to output a resource dll. It also copies all the original resources and we've excluded the manifest from being translated. The manifest shows up in the resource dll but somehow it doesn't seem to do anything anymore.

Does anyone know what we're missing here? Do we need to handle the manifest in a different way or configure the Sisulizer project differently?

I've attached an image, showing the difference when running the application on a monitor set to 125% DPI. On the left you see the untranslated scaled project, on the right the translated project, not scaled. At the bottom you can see the manifest included in both the executable and the resource dll.

Attachment: 2020-09-10-DPI-translated.jpg (Downloaded 10 times)

Last edited on Thu Sep 10th, 2020 10:41 am by MartinMX

MartinMX
Member
 

Joined: Wed Mar 25th, 2020
Location:  
Posts: 2
Status: 
Offline
Issue has been resolved. The manifest was not the problem, it was an option in the Sisulizer-project: "Form scaling" was set to "Disable scaling". Changing it to "Ignore" resolved the issue.

When changing language from the GUI (so Screen.FormCount > 0) the scaling is not automatically set to the correct DPI. Or in other words: the forms are streamed from the resource DLL in their design-time state. We have fixed this by recording the scale factor for each form prior to switching to another language. Once the language has been changed (and all the forms have been translated) we re-apply the scale factor to the forms and all is right again :)



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