🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internationalization
Article #135

Re: Duplicate Strings/Multiple Resources

#135
From: JF Jolin
Date: Tue, 01 Mar 2005 16:42
37 lines
1407 bytes
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: <opsmywosbqz6rw7b@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.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
References: <4223910c@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
Newsgroups: borland.public.cppbuilder.internationalization
Subject: Re: Duplicate Strings/Multiple Resources
References: <4223910c@newsgroups.borland.com>
Message-ID: <opsmywosbqz6rw7b@newsgroups.borland.com>
Content-Type: text/plain; charset=iso-8859-15; format=flowed
From: JF Jolin <jfj@nospam.com>
MIME-Version: 1.0
Date: Tue, 01 Mar 2005 11:42:18 -0500
User-Agent: Opera7.11/Win32 M2 build 2887
NNTP-Posting-Host: 66.158.140.222
X-Trace: newsgroups.borland.com 1109695342 66.158.140.222 (1 Mar 2005 08:42:22 -0800)
Lines: 38
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.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