🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

How to make a RC file for AnsiStrings within my program ?

#204
From: Fritz Heckmann
Date: Tue, 15 Mar 2005 16:50
32 lines
2222 bytes
Hi !
I just learn how to make a multi-language project within
C++ Builder 6. I managed to get my form-based elements switched to different 
content while
changing the language either of the whole xp-computer or with the 
information out of the rich text example.

//---------------------------------------------------------------------------
void __fastcall TForm1::Button3Click(TObject *Sender)
{
const  US = (SUBLANG_ENGLISH_US << 10) | LANG_ENGLISH;
if (LoadNewResourceModule(US))
  ReinitializeForms();
}
//---------------------------------------------------------------------------

void __fastcall TForm1::Button4Click(TObject *Sender)
{
const  GER = (SUBLANG_GERMAN << 10) | LANG_GERMAN;
if (LoadNewResourceModule(GER))
  ReinitializeForms();
}


But unfortunately the Translation Manager only shows the information of the 
used items on Forms etc.
How do I support the translation of my e.g. dynamic strings used in the 
program ?
Do I need another .rc-file and if yes, how ist this organized ?

Thanks in advance for help
Fritz
Technical Details
Message-ID: <423712ff@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newshub.sdsu.edu!newshosting.com!nx02.iad01.newshosting.com!207.115.63.142.MISMATCH!newscon02.news.prodigy.com!newscon06.news.prodigy.com!prodigy.net!border1.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10297d,fde360e81ec12fbf,start
X-Google-Attributes: gid10297d,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Fritz Heckmann" <f.heckmann@bk-giulini.com>
From: "Fritz Heckmann" <f.heckmann@bk-giulini.com>
Newsgroups: borland.public.cppbuilder.internationalization
Subject: How to make a RC file for AnsiStrings within my program ?
Date: Tue, 15 Mar 2005 17:50:53 +0100
Lines: 34
Organization: BK Giulini GmbH
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: 62.154.187.2
Message-ID: <423712ff@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1110905599 62.154.187.2 (15 Mar 2005 08:53:19 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newshub.sdsu.edu!newshosting.com!nx02.iad01.newshosting.com!207.115.63.142.MISMATCH!newscon02.news.prodigy.com!newscon06.news.prodigy.com!prodigy.net!border1.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail