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: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius Page:    1  2  Next Page Last Page  
New Topic Reply Printer Friendly
Handling of DRC files - Usage - Three simple steps to localize - Technical Support (You need to be registered at the forum to write) - .NET, Delphi, ... - Sisulizer Localization Tool Support
AuthorPost
 Posted: Wed Nov 4th, 2009 03:36 pm
PM Private Upload Quote Reply
waeberd
Member
 

Joined: Thu Oct 8th, 2009
Location: Switzerland
Posts: 66
Status: 
Offline
Hello,

To build an initial sisulizer project, I have localized EXE files that I am importing one by one. For each EXE file I have a corresponding DPR and DCR file.

Here's what I do:
1) Run "File -> Import" for the EXE in the original language
2) in the wizard, add paths to the drc / dpr file of the original language
3) Run "File -> Import" for the EXE in the second language
4) In the wizard, add paths to the drc / dpr file of the second language.

=> doing this, I get a warning "drc file is out of date. Resource strings may be mixed."

why? I have double checked that EXE / DRC / DPR files are matching.

In step 4, do I have to add the same drc file as in step 2??

and: sisulizer was right to warn me, resource strings are definitely mixed...

Cheers,

Daniel

Back To Top PM Private Upload Quote Reply

 Posted: Wed Nov 4th, 2009 03:50 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


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

Just to make sure:

You first created a project with File - New. This will import your original language into the project. And you made sure that DRC/DPR are correct for that?

Markus






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

 Posted: Wed Nov 4th, 2009 03:55 pm
PM Private Upload Quote Reply
Jaakko.Salmenius
Administrator


Joined: Sat Apr 8th, 2006
Location: Espoo, Finland
Posts: 2275
Status: 
Offline
Make sure that Delphi really makes a new DRC file every time you rebuild your project.

http://www.sisulizer.com/online-help/DrcFile.htm

It may be that your have turned off this feature and this is why your DRC is older than EXE.

Jaakko



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

 Posted: Wed Nov 4th, 2009 04:01 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


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

Another good source for Delphi developers is our manual for VCL developers:

http://www.sisulizer.com/software-localization-tool/vcl.pdf

You should not miss to read it since it written by developers for developers and gives you some background info.

Markus



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

 Posted: Wed Nov 4th, 2009 04:39 pm
PM Private Upload Quote Reply
waeberd
Member
 

Joined: Thu Oct 8th, 2009
Location: Switzerland
Posts: 66
Status: 
Offline
hmm, I have re-done everything from scratch and still got the warning as soon as the second language was imported.

But this time the strings were in the correct order.

One special thing is that the exe is compiled using the eurekalog compiler (in a Finalbuilder script). Let me re-check it using the native Delphi2006 compiler...

Another thing maybe related: If I import the first EXE in the project, it is not possible to select "German (Switzerland)" as an original language of the source (see Screenshot).

Thanks guys! Daniel

Attachment: sisulizerLanguageSelection.jpg (Downloaded 41 times)

Back To Top PM Private Upload Quote Reply

 Posted: Wed Nov 4th, 2009 05:05 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


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

Sisulizer lists the languages it finds in your binary. Looks like you do not have Swiss German in it. Perhaps you want to switch of the automatic with Tools - General Settings - Languages - Detect original language. I'm not sure if that will allow you to select a language not available in your EXE.

But in any case this is not related to the problem with the drc files. Perhaps the eurekalog compiler is the reason.

Markus



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

 Posted: Wed Nov 4th, 2009 05:24 pm
PM Private Upload Quote Reply
waeberd
Member
 

Joined: Thu Oct 8th, 2009
Location: Switzerland
Posts: 66
Status: 
Offline
Thanks Markus,

I will re-check everything tomorrow with manually built exe-files (from the Delphi 2006 IDE).

Regarding the language:
I have double checked that "Swiss German" is set correctly (see screenshot). Still having the same language selector.

Regards, Daniel

Attachment: projectLocaleID.jpg (Downloaded 40 times)

Back To Top PM Private Upload Quote Reply

 Posted: Wed Nov 4th, 2009 05:29 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


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

Can you please zip that Exe and upload it to us. We have to take a look.

Please use the new "Private Upload" button right above this post. It helps us to keep track of uploads and forums posts.

Markus



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

 Posted: Wed Nov 4th, 2009 05:41 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 2115
Status: 
Offline
... or you can check yourself with a tool like XN Resource Editor (Freeware). You have to check if your resources have the correct language. Your shot shows only the version info, but each resource block has its own settings.

Best

Markus



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

 Posted: Wed Nov 4th, 2009 06:44 pm
PM Private Upload Quote Reply
waeberd
Member
 

Joined: Thu Oct 8th, 2009
Location: Switzerland
Posts: 66
Status: 
Offline
Thanks a lot Markus, I will re-check this tomorrow morning and come back to you. And build a minimal EXE showing the problem...

Cheers, Daniel

Back To Top PM Private Upload Quote Reply

 Posted: Wed Nov 4th, 2009 06:50 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


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

Please make sure that all resources have the right language settings. Setting the version info does not change the language of the resource string blocks.

Best

Markus



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

 Posted: Wed Nov 4th, 2009 09:29 pm
PM Private Upload Quote Reply
waeberd
Member
 

Joined: Thu Oct 8th, 2009
Location: Switzerland
Posts: 66
Status: 
Offline
Markus, I will check this. How can I change the language of the resource string blocks in Delphi?

Thanks for your great support, Daniel

Back To Top PM Private Upload Quote Reply

 Posted: Thu Nov 5th, 2009 03:01 am
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


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

I'm not a Delphi developer myself. I would know how to do it plain windows recource files. There each block has some header. Should be the same in Delphi... but I don't know how where in the GUI this setting is implemented. Hope our R&D follows the thread and give some hint where to look.

Markus



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

 Posted: Thu Nov 5th, 2009 04:56 am
PM Private Upload Quote Reply
Jaakko.Salmenius
Administrator


Joined: Sat Apr 8th, 2006
Location: Espoo, Finland
Posts: 2275
Status: 
Offline
waeberd wrote: How can I change the language of the resource string blocks in Delphi?

There is no way to change the resource language of string resource. Language is always neutral. The same applies to the form resources.

However if you add custom resources (.rc) into Delphi you can specify the default language in the resource compiler options sheet. Choose Project | Options in Delphi. See screenshot. Here I have assigned English (United States) to default language.

Jaakko

Attachment: Untitled.png (Downloaded 34 times)



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

 Posted: Thu Nov 5th, 2009 07:28 am
PM Private Upload Quote Reply
waeberd
Member
 

Joined: Thu Oct 8th, 2009
Location: Switzerland
Posts: 66
Status: 
Offline
Thanks a lot for clarifying things (and sorry for my noob questions...).

You were right, Markus: in the (nice!) xn resource editor, my resourcestrings appear as "Language Neutral" (see Screenshot).

_(at)_Jaakko: i don't find this project-option in Delphi 2006, but will check the brcc options or compiler directives.

Cheers, Daniel

Attachment: languageneutral.jpg (Downloaded 32 times)

Back To Top PM Private Upload Quote Reply

 Posted: Thu Nov 5th, 2009 07:38 am
PM Private Upload Quote Reply
Jaakko.Salmenius
Administrator


Joined: Sat Apr 8th, 2006
Location: Espoo, Finland
Posts: 2275
Status: 
Offline
This option was added in Delphi 2009. Earlier do not have it. I read incorrectly that you use 2009 but it was 2006.

Jaakko



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

 Posted: Thu Nov 5th, 2009 09:26 am
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


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

A sample would be really useful to identify whats happening.
Please upload it as soon as you have it.

Markus



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

 Posted: Thu Nov 5th, 2009 10:24 am
PM Private Upload Quote Reply
waeberd
Member
 

Joined: Thu Oct 8th, 2009
Location: Switzerland
Posts: 66
Status: 
Offline
Hi Markus,

done!

I've created a small project in D2006 where I can reproduce the "drc out of date" problem.

1) New Sisulizer project using the DES-exe (build 291)
2) Import FRA-exe => Warning "out of date".

Funnily the language is detected correctly, but I guess this is not a serious problem anyway.

Thanks, Daniel

Back To Top PM Private Upload Quote Reply

 Posted: Thu Nov 5th, 2009 11:23 am
PM Private Upload Quote Reply
Janusz Grzybek
Super Moderator


Joined: Fri Dec 1st, 2006
Location: Zabrze, Poland
Posts: 2542
Status: 
Offline
Hello Daniel,

I've created a small project in D2006 where I can reproduce the "drc out of date" problem.
Thank you for files. I tested it, but I didn’t get "DRC out of date" message.

Funnily the language is detected correctly, but I guess this is not a serious problem anyway.
It could be a problem. I found different items in your exe files have different language settings, e.g. your Version info has set "German (Switzerland)", RCDATA has neutral language (this is correctly for Delphi), Cursors has set "English (United States)", and for this reason Sisulizer detect language for first exe (DES) as "German (Switzerland)", while for second exe (FRA) as "English (United States)". Different original languages in project could be reason many issues in future, e.g. Sisulizer can't import translations from your translator to some parts (sources) of your project, because source languages don't match. However, Sisulizer allows on changing of original language in Sisulizer project. Open "Project" menu > "Edit source" > your source > "Encodings" tab > "Original language". Here you can see source language detected by Sisulizer, and optionally change it via dropdown menu. Next, you can repeats these steps for next your sources in project Best regards,
Janusz


Attachment: screen1.png (Downloaded 25 times)



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

 Posted: Thu Nov 5th, 2009 12:03 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


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

I could see the message. It is a bit tricky to see :-)
I asked our R&D for help.

Markus



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

Current time is 09:12 pm Page:    1  2  Next Page Last Page    
.NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Usage - Three simple steps to localize > Handling of DRC files



WowUltra modified by Sisulizer Copyright © 2007-09 by Jim Hale - Based on WowBB Copyright © 2003-2006 Aycan Gulez

Sisulizer software localization tool - Three simple steps to localize