Article View: borland.public.cppbuilder.internationalization
Article #87Re: How do I get the current locale
From: Peter
Date: Tue, 08 Nov 2005 13:43
Date: Tue, 08 Nov 2005 13:43
16 lines
1387 bytes
1387 bytes
> >> And how does one insert a string table into externalized resources?
If you mean, how do I put strings in a dll ?
Make *.rc files and make them part of a dll project.
Put this in there :
STRINGTABLE
{
1, "text 1"
2, "text 2
// etc ...
}
Use the value per string later on to get the string from the resource.
Technical Details
Message-ID:
<4370ab71@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!nx01.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<436c0342$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10297d,5ef026ea15fe14a X-Google-Attributes: gid10297d,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Peter" <Will_Bounce_So_Use_My_First_Name@Smart-Projects.net> From: "Peter" <Will_Bounce_So_Use_My_First_Name@Smart-Projects.net> Newsgroups: borland.public.cppbuilder.internationalization References: <436c0342$1@newsgroups.borland.com> Subject: Re: How do I get the current locale Date: Tue, 8 Nov 2005 14:43:42 +0100 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 81.83.72.19 Message-ID: <4370ab71@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1131457393 81.83.72.19 (8 Nov 2005 05:43:13 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!nx01.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail