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
Marking resource items as 'not to be included in the generated dll' - 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 Aug 18th, 2009 03:55 pm
PM Private Upload Quote Reply
MikeBz
Member
 

Joined: Wed Aug 8th, 2007
Location: United Kingdom
Posts: 38
Status: 
Offline
I would like to be able to mark some of my resource items (some dialog boxes, maybe some strings as well) as 'unused' and then remove them so that they don't get written to the generated dll.

The reason is:  I have code which hooks FindResource(), my hook function first looks for the resource in the current language dll and if it can't find it in there it loads it from the app's exe.  The app's .exe contains English translations of all resource items.  Some resource items are not and never will be translated, so I want to completely exclude those items from the generated language dlls so they always get loaded from the .exe.  Then if during development I modify those never-to-be-translated resource I don't have to update & reissue all the language dlls because those resources are not loaded from them.

Maybe there is a way of doing this which I haven't found?

Mike

Back To Top PM Private Upload Quote Reply

 Posted: Tue Aug 18th, 2009 04:18 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


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

The default behavior of Sisulizer is, that if you do enter a translation to a target language a fallback to the original string is automatically used. Delphi and .NET do it that way. I'm not sure about MFC, but it should be the same as well.

To prevent these entries from being translated you should mark them as "Do Not Translate". You can do that for complete dialogs in the translation tree on the left side (use right click...).

Hope this helps

Markus



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

 Posted: Tue Aug 18th, 2009 04:21 pm
PM Private Upload Quote Reply
MikeBz
Member
 

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

I have them marked as 'Excluded' and 'Do not translate' but they still get written out to the dlls. I want them to not be written to the dlls.

Regards,

Mike

Back To Top PM Private Upload Quote Reply

 Posted: Tue Aug 18th, 2009 05:01 pm
PM Private Upload Quote Reply
Sisusupport
Administrator
 

Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 2261
Status: 
Offline
Sisulizer writes them even if you have marked them Excluded. The only way you can optimize it is to exclude the resource type and then uncheck Copy all resource check box. However it still writes excluded items. This is incorrect and it should be just liek you told. This is why I fixed this in buuld 289. You have to wait for build 289 and then uncheck Copy all resources. Then you get what you expect.

Jaakko

Attachment: Untitled.png (Downloaded 20 times)



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

 Posted: Wed Aug 19th, 2009 08:00 am
PM Private Upload Quote Reply
MikeBz
Member
 

Joined: Wed Aug 8th, 2007
Location: United Kingdom
Posts: 38
Status: 
Offline
Thanks Jaakko. I already have 'Copy all resources' unchecked, and as you say it still writes the excluded items to the dll. I'll wait for 289.

Mike

Back To Top PM Private Upload Quote Reply

Current time is 01:28 pm  
.NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Wish list for software localization tool > Marking resource items as 'not to be included in the generated dll'



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