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
Toolbars (RT_TOOLBAR) are not translated. - 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: Wed Jul 23rd, 2008 06:14 pm
PM Private Upload Quote Reply
danliu
Member
 

Joined: Wed Apr 9th, 2008
Location: New Jersey USA
Posts: 20
Status: 
Offline
I have a VC++ MFC project, and after being translated by Sisulizer, I found only English in the output DLL for Toolbar (RT_TOOLBAR). The other types of resources (such as RT_DIALOG) are translated fine. Please let me know how to fix it. The attached is what I see when I click on one of the Toolbars.

Attachment: Toolbar.bmp (Downloaded 33 times)

Back To Top PM Private Upload Quote Reply

 Posted: Wed Jul 23rd, 2008 07:00 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


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

can you please check under Project -> Edit Source -> <Your Source Name> -> Resources if the resource type RT_TOOLBAR is listed and selected.

Best

Markus



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

 Posted: Wed Jul 23rd, 2008 07:48 pm
PM Private Upload Quote Reply
danliu
Member
 

Joined: Wed Apr 9th, 2008
Location: New Jersey USA
Posts: 20
Status: 
Offline
Yes, it is listed and selected.

Back To Top PM Private Upload Quote Reply

 Posted: Wed Jul 23rd, 2008 07:53 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 3128
Status: 
Offline
Can you please send your DLL and the .slp (Sisulizer project) to support (at) sisulizer.fi (not .com). We try to reproduce it here.

Best

Markus



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

 Posted: Thu Jul 24th, 2008 11:59 am
PM Private Upload Quote Reply
danliu
Member
 

Joined: Wed Apr 9th, 2008
Location: New Jersey USA
Posts: 20
Status: 
Offline
Thanks Markus! I just sent the files over. Please let me know if you need more info.

Regards,

Dan

 

Back To Top PM Private Upload Quote Reply

 Posted: Thu Jul 24th, 2008 01:36 pm
PM Private Upload Quote Reply
Ilkka.Salmenius
Administrator


Joined: Wed Aug 8th, 2007
Location: Tokyo, Japan
Posts: 2005
Status: 
Offline
A toolbar resource is stored into two places:

1. In toolbar resource (RT_TOOLBAR)
Here is just the dimension of bitmaps, counts and IDs. There are no need to localize them.

2. In bitmap resource (RT_BITMAP)
The actual bitmap resource is stored here with the same ID as in the toolbar resource. For example you have toolbar id 128. The bitmap of that toolbar can be found as bitmap id 128. If you like to localize the toolbar 128 you have to localize bitmap 128.

regards
Ilkka



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

 Posted: Thu Jul 24th, 2008 01:44 pm
PM Private Upload Quote Reply
Ilkka.Salmenius
Administrator


Joined: Wed Aug 8th, 2007
Location: Tokyo, Japan
Posts: 2005
Status: 
Offline
1. Include bitmap resources

Attachment: Toolbar1.PNG (Downloaded 26 times)



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

 Posted: Thu Jul 24th, 2008 01:45 pm
PM Private Upload Quote Reply
Ilkka.Salmenius
Administrator


Joined: Wed Aug 8th, 2007
Location: Tokyo, Japan
Posts: 2005
Status: 
Offline
2. Include binary data types

Attachment: Toolbar2.PNG (Downloaded 26 times)



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

 Posted: Thu Jul 24th, 2008 01:45 pm
PM Private Upload Quote Reply
Ilkka.Salmenius
Administrator


Joined: Wed Aug 8th, 2007
Location: Tokyo, Japan
Posts: 2005
Status: 
Offline
Now you can localize toolbar bitmaps.



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

 Posted: Thu Jul 24th, 2008 04:13 pm
PM Private Upload Quote Reply
danliu
Member
 

Joined: Wed Apr 9th, 2008
Location: New Jersey USA
Posts: 20
Status: 
Offline
Thank you very much! Now the toolbars are translated by unchecking Binary Data from Excluded Types in my project.

However, my original problem still exists - the tooltips on the toolbar buttons are still in English. The tooltip texts are "Prompt" in toolbar button's perperty page (see the attached image). The string identified by ID_LABEL_ELLIPSE_CENTER (32876) is translated in Japanese (string section).

Does that mean Sisulizer won't put this translated "prompt" into tranlsated toolbar resource? If true, how can I get these tooltips translated?

Regards,

Dan

 

Attachment: Toolbar_button.bmp (Downloaded 25 times)

Back To Top PM Private Upload Quote Reply

 Posted: Thu Jul 24th, 2008 04:33 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


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

the binary datas seem not to contain strings. But I found

Centered ellipse\nCentered ellipse

and others around node 2055 in the strings sections. I'm not a C++ developer but I would think Visual Studio placed the tooltip strings into the string resources like it placed the matching bitmaps into the bitmaps section.

Best

Markus



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

 Posted: Fri Jul 25th, 2008 04:19 am
PM Private Upload Quote Reply
Ilkka.Salmenius
Administrator


Joined: Wed Aug 8th, 2007
Location: Tokyo, Japan
Posts: 2005
Status: 
Offline
Those tooltips are stored into string resources (RT_STRING).

For example toolbar 246.

It's first button has id 33006. The corresponding string is stored as resourcestring id 33006.

I will implement a visual editor for toolbars that shows the ids and help user to locate the right strings and bitmaps.



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

 Posted: Fri Jul 25th, 2008 09:50 pm
PM Private Upload Quote Reply
danliu
Member
 

Joined: Wed Apr 9th, 2008
Location: New Jersey USA
Posts: 20
Status: 
Offline
Markus and Ilkka,

Thank you very much for the useful information! Now my problem is solved! I overrode CMFCToolBar::OnToolHitTest() function, where I loaded the tooltips based on the languages.

Regards,
Dan

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) > Bugs and Quirks in Sisulizer > Toolbars (RT_TOOLBAR) are not translated.



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