Support forum of the software localization tool Sisulizer


Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ... 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: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius
New Topic Reply Printer Friendly
Binary translation and MFC resources - Usage - Three simple steps to localize - Technical Support (You need to be registered at the forum to write) - Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ...
AuthorPost
 Posted: Fri May 25th, 2007 08:40 pm
PM Quote Reply
JimBeveridge
Member
 

Joined: Fri May 25th, 2007
Location: Arizona USA
Posts: 18
Status: 
Offline
I created a project based on an MFC application built with VC2005. It imports fine, but all of the String IDs come across as just numbers because of the way MFC handles resources.

I can alternatively based the project on an RC file, in which case all of the String IDs come across symbolically (such as IDS_MY_FAVORITE_STRING.) However, all of the documentation seems to indicate that binary translation is preferred.

Is there any way to attach the MFC resource.h file so I can show the String IDs in symbolic form instead of as integers? (Actually, I need to attach multiple resource.h files to get all of the IDs.)

 
Thank you.

 

Back To Top PM Quote Reply

 Posted: Fri May 25th, 2007 09:21 pm
PM Quote Reply
Ilkka.Siikanen
Administrator
 

Joined: Wed Aug 30th, 2006
Location: Vantaa, Finland
Posts: 115
Status: 
Offline
I am sorry, but there is no way to link IDs with resource.h names in Sisulizer just now. In the binary scanning Sisulizer digs all necessary data from a binary file (EXE or DLL). In stringtable resources only IDs and strings can be found.

If you like to handle strings with names you should use RC-localization. But I prefer binary localization:
- it is faster
- it is simplier
- less changes for mistakes

You'll get used to handle strings with IDs very quickly. In the end at the translation process there is not so important whatever the contexts are numeric or strings. Some difficulties may be lo locate the context in the program by just IDs.

best regards
Ilkka

Last edited on Fri May 25th, 2007 09:32 pm by Ilkka.Siikanen



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

 Posted: Fri May 25th, 2007 10:24 pm
PM Quote Reply
JimBeveridge
Member
 

Joined: Fri May 25th, 2007
Location: Arizona USA
Posts: 18
Status: 
Offline
Thank you for the quick response. I'm now creating a project based on my EXE, but I can't get Sisulizer to find non-English resources in the EXE. I've opened the EXE in Visual Studio to verify that the German and French translations are actually there, but Sisulizer doesn't recognize them when the project is created and I can't import them.

When I choose File / Import and select my EXE, I'm asked to "Select the language column where you want to import the data." However, I am not asked which language resource should be the source and it always imports from the English resources.

Any ideas? I'm running 1.5.5

 

Back To Top PM Quote Reply

 Posted: Fri May 25th, 2007 11:21 pm
PM Quote Reply
Ilkka.Siikanen
Administrator
 

Joined: Wed Aug 30th, 2006
Location: Vantaa, Finland
Posts: 115
Status: 
Offline
Could you send you EXE file to us, please

support (at) sisulizer.fi

I will take a look of it

regards
Ilkka

 



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

 Posted: Sat May 26th, 2007 01:49 am
PM Quote Reply
Jaakko.Salmenius
Administrator


Joined: Sat Apr 8th, 2006
Location: Tokyo, Japan
Posts: 1641
Status: 
Offline
Thank you for the files. Your EXE files are multilingual. They contains three languages. Currently Sisulizer only scans the resources of the original language (the one your select when you create the project). The other languages are just ignored.

However it is easy to implement a feature that will scan just like now but after scanning it imports data from the other language resources.

I have started implementing this and it will be in the next build early next week.

Jaakko

Last edited on Sat May 26th, 2007 01:49 am by Jaakko.Salmenius



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

 Posted: Sat May 26th, 2007 02:03 am
PM Quote Reply
JimBeveridge
Member
 

Joined: Fri May 25th, 2007
Location: Arizona USA
Posts: 18
Status: 
Offline
Thank you Jaako,

I also have a related problem that I mentioned in my email to support. I'm trying to create a multilingual EXE (just like the EXEs I sent you) but it doesn't work. I tried in both my project and the VCPP sample. I went to the Properties for the "Converter" project, checked "Multilingual file" and did a rebuild. However, the EXE that's placed in the "all" directory only contains the last language that was built.

Also, Ilkka had said that Sisulizer doesn't support reading MFC "resource.h" files to assign symbolic names to the numeric resource IDs. I'd like to make that a feature request.

 

Back To Top PM Quote Reply

 Posted: Sat May 26th, 2007 02:19 am
PM Quote Reply
Jaakko.Salmenius
Administrator


Joined: Sat Apr 8th, 2006
Location: Tokyo, Japan
Posts: 1641
Status: 
Offline
There was a bug. Sisulizer kept only last language in the EXE. I fixed it in 1.5.7.

I understand you need for symbolic resource names. In most cases they are much more describing as numberic ids (that does not tell anything for translator)

We have a similar feature in Delphi binary localization where the uses selects the EXE and corrseponding DRC file (that contains symbolic resource names). We can implement the same for Visual C++. The only problem is that there might be several .h files that the .rc files of the application use but we can add a feature that the user can add any number or .h files.

Can you send me one sample .h file that you use to

support (at) sisulizer.fi

Thank you for good input!

Jaakko



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

 Posted: Sat May 26th, 2007 12:03 pm
PM Quote Reply
Jaakko.Salmenius
Administrator


Joined: Sat Apr 8th, 2006
Location: Tokyo, Japan
Posts: 1641
Status: 
Offline
Hi Jim,

We implemented the following new features to 1.5.7:
  • Using os symbolic names from resources.h file
  • Importing existing translations from multilingual .exe or .dll
  • Fixed bug that prevent Sisulizer to create correct multilingual EXE when the original EXE was created with Visual C++
The new version will be available on Monday.

Regards,

Jaakko



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

 Posted: Sat May 26th, 2007 08:28 pm
PM Quote Reply
JimBeveridge
Member
 

Joined: Fri May 25th, 2007
Location: Arizona USA
Posts: 18
Status: 
Offline
Jaako,

I purchased Sisulizer Enterprise yesterday. Thank you for your help!

By the way, why don't you support importing translations from RC files when the original source is an EXE file?

Jim Beveridge

 

Back To Top PM Quote Reply

 Posted: Mon May 28th, 2007 03:07 am
PM Quote Reply
Jaakko.Salmenius
Administrator


Joined: Sat Apr 8th, 2006
Location: Tokyo, Japan
Posts: 1641
Status: 
Offline
We could not do that because RC used different context (symbolic) than EXE (ids). Now when we have resource.h mapping we can implement importing form RC.

Jaakko



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

Current time is 12:14 am  
Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ... > Technical Support (You need to be registered at the forum to write) > Usage - Three simple steps to localize > Binary translation and MFC resources



WowUltra 1.11 Copyright © 2007 by Jim Hale - Based on WowBB Copyright © 2003-2006 Aycan Gulez

Sisulizer software localization tool - Three simple steps to localize