Article View: borland.public.cppbuilder.internationalization
Article #137Re: Duplicate Strings/Multiple Resources
From: Goran
Date: Wed, 09 Mar 2005 13:12
Date: Wed, 09 Mar 2005 13:12
68 lines
2835 bytes
2835 bytes
Hi Michelle, I'm not sure what is the problem, if it is not this one: Check whether the name of your .RC file is not the same as the name of your main project file name. For example, if you project is SomeProject.bpr, you will have SomeProject.res file created by the enviroment. If you put all your native strings in for exampe: Strings.rc, you should not have that problem. To be sure, remove your old .RC file from the project, if it has the same name as project file, delete .RES file, than create Strings.rc, copy all your strings there, add it to the project and build it from scratch. I have that approach and I haven't had any problem so far. Regards, Goran. "Mich" <michellep@timemarkinc.com> wrote: >I only have my native language implemented. I was just pulling my strings >out of the code to make things go faster when I get to translations (I have >to get this project finished first). Somehow a string table has gotten into >the project .RES file and it's conflicting with the .RC file I did create. >I either need to get it out of the project file or figure out how to update >the project string table. > >--Michelle > > >"JF Jolin" <jfj@nospam.com> wrote in message >news:opsmywosbqz6rw7b@newsgroups.borland.com... >> Hi Michelle >> >> There are probably others ways to solve this. The following one is simple. >> If you're ready to do one compilation per language, this one will do the >> work. >> >> >> #ifdef LANGUAGE1 >> >> LANGUAGE LANG_..., SUBLANG_... >> >> STRINGTABLE >> BEGIN >> MSG_WHATEVER "..." >> . >> . >> . >> END >> >> #else // LANGUAGE2 >> >> LANGUAGE LANG_..., SUBLANG_... >> >> STRINGTABLE >> BEGIN >> MSG_WHATEVER "..." >> . >> . >> . >> END >> >> #endif // LANGUAGE1 >> >> >> >> -- >> JF Jolin >> > >
Technical Details
Message-ID:
<422ef654$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newsfeed2.dallas1.level3.net!news.level3.com!bloom-beacon.mit.edu!panix!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<4223910c@newsgroups.borland.com> <opsmywosbqz6rw7b@newsgroups.borland.com> <4224d915$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10297d,c4e9c406240e7140 X-Google-Attributes: gid10297d,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Goran" <gskoric@pfe.co.uk> Sender: "Goran" <gskoric@pfe.co.uk> Reply-To: "Goran" <gskoric@pfe.co.uk> Subject: Re: Duplicate Strings/Multiple Resources Newsgroups: borland.public.cppbuilder.internationalization X-User-Info: 195.217.226.113 References: <4223910c@newsgroups.borland.com> <opsmywosbqz6rw7b@newsgroups.borland.com> <4224d915$1@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <422ef654$1@newsgroups.borland.com> Date: 9 Mar 2005 05:12:52 -0800 X-Trace: newsgroups.borland.com 1110373972 207.105.83.66 (9 Mar 2005 05:12:52 -0800) Lines: 69 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newsfeed2.dallas1.level3.net!news.level3.com!bloom-beacon.mit.edu!panix!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail