Article View: borland.public.cppbuilder.internationalization
Article #136Re: Duplicate Strings/Multiple Resources
From: Mich
Date: Tue, 01 Mar 2005 21:08
Date: Tue, 01 Mar 2005 21:08
50 lines
2216 bytes
2216 bytes
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:
<4224d915$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4223910c@newsgroups.borland.com> <opsmywosbqz6rw7b@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: "Mich" <michellep@timemarkinc.com> Newsgroups: borland.public.cppbuilder.internationalization References: <4223910c@newsgroups.borland.com> <opsmywosbqz6rw7b@newsgroups.borland.com> Subject: Re: Duplicate Strings/Multiple Resources Date: Tue, 1 Mar 2005 13:08:11 -0800 Lines: 52 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 NNTP-Posting-Host: 216.210.239.242 Message-ID: <4224d915$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1109711125 216.210.239.242 (1 Mar 2005 13:05:25 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail