Article

From:
To:
Bruce Petty
Subject:
Re: Build fails for language files [Edit]
Newsgroup:
embarcadero.public.cppbuilder.localization

Re: Build fails for language files [Edit]

For the vcl\DBLOGDLG.dfm error, the problem was mine. I have several languages to translate into and had not copied the DBLOGDLG.dfm file into all of them. Two errors left. Concerning the CPOCII_DS.res error, the CPOCII_DS.rc file does not contain anything. I'm not sure when it was created. I've tried just removing the CPOCII_DS.rc file. The compiler would not allow me to remove it after the language was added so I removed the language and then was able to remove the CPOCII_DS.rc file and now have added the language back in. The text.res file was there but had been placed by the linker into the specified output file (debug). Then while it was doing the translation portion it apparently couldn't remember where it was placed. I put a copy of the text.res file in the project's root folder and the linker was able to finish.
So at this point I have a completed project, I think.

Nope. It still doesn't work. I noticed that I was not able to select Project->Languages->Set Active (the selection was grayed out). So I closed the IDE and reopened it. All of the other languages can still be seen in the project group but both Remove and Set Active are grayed out. When I tried to again Build All Projects, both the CPOCII_DS.res and text.res errors reappeared.

So I again added all of the original languages (using Project->Languages->Add..). That ungrayed the Set Active function which I immediately set to one of the languages (in this case Italian) and then did the Build All Projects. It worked, again. And when I ran the program it was immediately showing in Italian.

Edited by: Bruce Petty on May 6, 2013 9:19 AM

Edited by: Bruce Petty on May 6, 2013 9:36 AM
Edited by: Bruce Petty on May 6, 2013 9:58 AM
Edited by: Bruce Petty on May 6, 2013 11:22 AM
FYI: Phrase searches are enclosed in either single or double quotes
 
 
Originally created by
Tamarack Associates
Mon, 25 Nov 2024 17:47:14 UTC
Copyright © 2009-2024
HREF Tools Corp.