|
Post by Gerard on Nov 26, 2003 6:02:33 GMT -5
Hi Kevin,
Would it be possible to have multi-langage messages, or accessible messages for translation in other langages.
Please note that I can ensure for free translation towards French, if you need.
Regards
Gerard
|
|
|
Post by Kevin on Nov 26, 2003 8:28:46 GMT -5
You'll find all of the messages in the file kpzcnst.rc.
|
|
|
Post by Gerard on Nov 26, 2003 13:35:08 GMT -5
Thanks. I've translated the kpzcnst.rc file in French. Some messages seem to be outside of this file, for instance when you creat a set of spanned disks, you'll get "Please insert disk 1 of the multi-disk set".
|
|
|
Post by Kevin on Nov 26, 2003 14:05:54 GMT -5
That definitely comes from the kpzcnst.rc file. Are you sure you got that one?
Just to be sure, too, are you using VCLZip Pro? Or Lite?
|
|
|
Post by Gerard on Nov 27, 2003 1:52:39 GMT -5
m using VCLZip Pro. If you want to check : the table I have contents 31 entries from IDS_OPENZIP to IDS_CANTWRITEUCF. It is coming from src_30332.exe (nov 11th, 2003) installed for BCB6. The kpzcnst.rc file itself is dated oct 15th 2003.
|
|
|
Post by Kevin on Nov 27, 2003 9:03:19 GMT -5
Oh, are you maybe using the VCLZip Zip Utility Example? If so, this has an OnGetNextDisk event defined and, yes, it has this message in the code, it is not coming from VCLZip itself. If this is the case, take a look in Zip.Pas at the ZipperGetNextDisk and you will find it there. The Example may have a lot of hard coded messages.
Actually, that event is not even needed in the example since if it was not there, VCLZip's internal DefaultGetNextDisk would take over and it's message is pulled from the .RC file.
|
|
|
Post by Gerard on Nov 27, 2003 13:38:43 GMT -5
I'm not using the example, but my own devopment. Not only message of my last reply is untranslated, but all your messages ! So, I've tried the following :
1. uninstall VCLZip components, rebuild VCLZipBCB6_3.bpk with translated kpzcnst.rc : no difference, messages are still untranslated
2. uninstall VCLZip components, rebuild VCLZipBCB6_3.bpk without kpzcnst.rc : no message when compiling or linking, no difference, messages are still untranslated. The .rc file is not concerned by this operation.
3. I've then inspected all files in the directory an found that your messages are also in the kpzcnst.res, and tried the previous operations with kpzcnst.rc and without kpzcnst.res : unfortunately, compiling doesn't rebuild the .res file, and linking fails.
So my question is now : what operation allows to rebuild kpzcnst.res starting from kpzcnst.rc ?
Am I on the good way ? Any idea to go on ?
Gerard
|
|
|
Post by Kevin on Nov 27, 2003 13:48:19 GMT -5
To compile the .rc file to a .res file that can be linked with your application, simply type on the dos command line the full path to the resource compiler, and the full path to the name of the .rc file to compile. Here is an example:
c:\Delphi\Bin\brcc32.exe c:\Delphi\VCLZip\kpzcnst.rc
When the compiler is finished, you should have a new file with the same name as the .rc file you've compiled, only with an extension of ".res", kpzcnst.res, which VCLZip will link in when you compile VCLZip, so you'll want to rebuild the package after doing this.
|
|
|
Post by Gerard on Nov 28, 2003 2:04:45 GMT -5
Hi Kevin,
Thanks a lot, everything works fine now. It's really a pleasure for me to develop with your products and support. I'll talk of you all around me.
Gerard
|
|
|
Post by Kevin on Nov 28, 2003 9:34:54 GMT -5
Thanks very much!
|
|