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
Make a button multi-line - Wish list for software localization tool - Technical Support (You need to be registered at the forum to write) - .NET, Delphi, ... - Sisulizer Localization Tool Support
AuthorPost
 Posted: Tue Sep 25th, 2007 07:07 am
PM Private Upload Quote Reply
MikeBz
Member
 

Joined: Wed Aug 8th, 2007
Location: United Kingdom
Posts: 38
Status: 
Offline
Often I need to resize a button (pushbutton, checkbox or radio-button) to fit it's newly-translated text.  Sometimes my dialog boxes don't have the space to resize the button horizontally, but do have space to resize vertically and make the button multi-line (a trick I used to use a lot when translating resources the hard way using the resource editor in Visual Studio).  I need to be able to add the BS_MULTILINE style to the button - is there a way of doing this is Sisulizer?

Mike

Back To Top PM Private Upload Quote Reply

 Posted: Tue Sep 25th, 2007 07:20 am
PM Private Upload Quote Reply
Ilkka.Salmenius
Moderator


Joined: Wed Aug 8th, 2007
Location: Tokyo, Japan
Posts: 2012
Status: 
Offline
Are you localizing binary (.EXE) or resource (.RC) files?



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

 Posted: Tue Sep 25th, 2007 07:26 am
PM Private Upload Quote Reply
MikeBz
Member
 

Joined: Wed Aug 8th, 2007
Location: United Kingdom
Posts: 38
Status: 
Offline
I created my Sisulizer project from a .exe file, Sisulizer then creates a resource dll for each language.

Mike

Back To Top PM Private Upload Quote Reply

 Posted: Tue Sep 25th, 2007 07:30 am
PM Private Upload Quote Reply
Ilkka.Salmenius
Moderator


Joined: Wed Aug 8th, 2007
Location: Tokyo, Japan
Posts: 2012
Status: 
Offline
With the current version there are no way to edit Windows styles (for example to add BS_MULTILINE). I have to think about if it would be easy to implement. I let you know later.



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

 Posted: Tue Sep 25th, 2007 07:35 am
PM Private Upload Quote Reply
MikeBz
Member
 

Joined: Wed Aug 8th, 2007
Location: United Kingdom
Posts: 38
Status: 
Offline
Thankyou for the quick response.

Mike

Back To Top PM Private Upload Quote Reply

 Posted: Tue Sep 25th, 2007 04:47 pm
PM Private Upload Quote Reply
Ilkka.Salmenius
Moderator


Joined: Wed Aug 8th, 2007
Location: Tokyo, Japan
Posts: 2012
Status: 
Offline
I implemented it. It will be available in the build 1.6.11.

You can modify any flags. Although some primary flags has been protected.

Attachment: Style.PNG (Downloaded 39 times)



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

 Posted: Wed Sep 26th, 2007 08:07 am
PM Private Upload Quote Reply
MikeBz
Member
 

Joined: Wed Aug 8th, 2007
Location: United Kingdom
Posts: 38
Status: 
Offline
Superb, thankyou.  I look forward to downloading 1.6.11.

Mike

Back To Top PM Private Upload Quote Reply

 Posted: Tue Oct 2nd, 2007 04:24 am
PM Private Upload Quote Reply
Ilkka.Salmenius
Moderator


Joined: Wed Aug 8th, 2007
Location: Tokyo, Japan
Posts: 2012
Status: 
Offline
It has been implemented to 1.6.10

http://www.sisulizer.com/downloads.shtml

Rigth click any control and choose Style or ExStyle

Attachment: Style.PNG (Downloaded 31 times)



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

 Posted: Tue Oct 2nd, 2007 04:26 am
PM Private Upload Quote Reply
Ilkka.Salmenius
Moderator


Joined: Wed Aug 8th, 2007
Location: Tokyo, Japan
Posts: 2012
Status: 
Offline
Then you can edit the Style rows. Press the browse "..." button on the right of a cell.

Attachment: Styles.PNG (Downloaded 30 times)



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

 Posted: Tue Oct 2nd, 2007 05:19 am
PM Private Upload Quote Reply
MikeBz
Member
 

Joined: Wed Aug 8th, 2007
Location: United Kingdom
Posts: 38
Status: 
Offline
That's great.

I don't want to be greedy, but it would be nice if multi-line pushbuttons did display as mult-line in the form editor.

Mike

Back To Top PM Private Upload Quote Reply

 Posted: Tue Oct 2nd, 2007 05:25 am
PM Private Upload Quote Reply
MikeBz
Member
 

Joined: Wed Aug 8th, 2007
Location: United Kingdom
Posts: 38
Status: 
Offline
Actually it's not just pushbuttons, it's check boxes too (and maybe radio buttons?) - if the original is not multi-line then the form editor does not show items as multi-line even if they are in the translation. I'm trying to use the form editor to re-layout my translated dialog boxes so that all the (longer) text fits.

Mike

Back To Top PM Private Upload Quote Reply

 Posted: Tue Oct 2nd, 2007 05:57 am
PM Private Upload Quote Reply
Ilkka.Salmenius
Moderator


Joined: Wed Aug 8th, 2007
Location: Tokyo, Japan
Posts: 2012
Status: 
Offline
I am sorry but that I can't implement. In Windows the same button class is used for push buttons, check boxes and radio buttons. In Sisulizer each push button, radio button and check box is mapped to their own classes (TVisButton, TVisRadioButton, TVisCheckBox). The TVisButton can't be "translated" to TVisCheckBox.

However I can implement some minor changes inside the class (for example multiline). I will implement this to the next build.

Would it be better if you prepare you dialogs better for localization? Make sure that there is enough room between controls and so on.

http://www.sisulizer.com/support/developers-corner/preparing-delphi.shtml

Ilkka



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

 Posted: Tue Oct 2nd, 2007 06:33 am
PM Private Upload Quote Reply
MikeBz
Member
 

Joined: Wed Aug 8th, 2007
Location: United Kingdom
Posts: 38
Status: 
Offline
Hi Ilkka,

Maybe I haven't made myself clear. I am not trying to change the type of a button (e.g I don't want to change a pushbutton to a checkbox). I want to make some pushbuttons, some checkboxes, and some radio buttons multi-line in the translation where they are not multi-line in the original. The changes you have made allow me to do that, but when I change any type of button to multi-line in the form editor it does not display that item as multi-line. Items which are multi-line in the original do display as multi-line in the form editor.

I understand your point about preparing dialogs better for localization, but if I make every text/button/etc. object wide enough for the widest language then other languages look ugly with unnecessarily large spaces between items and unnecessarily tall/wide buttons etc. Our primary target language is English and I don't want to spoil the look of the English product for the 1 or 2 customers who want e.g. Spanish or German (ours is a very low volume product).

It would be really nice (for me - maybe not for others!) if the form editor worked in the same way as the resource editor in Visual Studio, e.g. drag rubber band to select multiple items, align/resize multiple items (last item selected is the target size/alignment etc.). This is a passing comment not a request...

Regards,

Mike

Back To Top PM Private Upload Quote Reply

Current time is 10:50 am  
.NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Wish list for software localization tool > Make a button multi-line



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