Mega Search
23.2 Million


Sign Up

Make a donation  
Re: Build fails for language files [Edit]  
News Group: embarcadero.public.cppbuilder.localization

Hi Ciaran,
Back to problems again. 
In both the Hello World program and my complete program I'm using both dfm files and a text.rc file.  The text.rc file replaces some labels actively in the program by using LoadStr() commands.  The Hello World program shows both the results from the dfm files and text from the text.rc files correctly on the forms.
I have the full program completed and have put in all of the translations. However when I run the program now it only shows the forms which had DFM files with the translations.
Nothing from the text.rc file seems to be coming through in any of the languages.  I've tried removing all of the languages and putting them all back (that helped with some of the compiler/linker problems) but it didn't help with this.
I've put breakpoints in the program to see what is happening but that doesn't help because the LoadStr just shows what comes through after the VCL has fetched the string and it is always in English.  The text.rc file does show in the list of files in the Project Manager and is different for each of the languages.  I was pretty sure that I had tested this and that it was working before I started editing all of the dfm files translations, so I don't know why it quit after the dfm translations have been done

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 21-May-2013, at 6:04 PM EST
From: Bruce Petty