🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Multi language support with the Resource Dll Wizard in C++ Builder 6

#254
From: Elena
Date: Fri, 08 Oct 2004 05:07
61 lines
3293 bytes
Hi All,

Thank you in advance. I am new to C++ Builder.

I use C++ Builder 6 Japanese version and I would like to create a project 
supports both Japanese and English on my forms, such as button caption and 
menu.

I strictly follow the steps below:

1.) Create a very simple Form with a Button on it. The button's caption is 
"Hello" in Japanese.

2.) I then Save the project to D:\langtest\ with name Project1.bpr and 
Unit1.dfm. After saving it, I build to the "langtest" folder.

3.) Then, I click File -> New -> Others -> Resource Dll Wizard.

4.) Select project1.bpr and click Next. Here, the basic language I select is 
"Japanese". Shall I select Japanese here?

5.) Select Japanese with extension JPN and then click next.

6.) Select to add the files to "langtest\JPN" and then click next.

7.) Add the unit1.dfm file and then click next.

8.) Click Next and then click OK.

9.) Then, the dll wizard works. I found that there is a new folder JPN under 
my langtest folder and there are a lot of files including .bpr, .rc, .res 
etc. But I cannot find a file whose name is .JPN or .DLL. What is supposed 
to happen after the resource dll wizard finishes its work? Shall I add the 
rc file to my original project?

10.) I then save the project group, as a new project1.bpr is added to my JPN 
folder. I change the caption of the button to "Hello" in English and 
save/build my project.

11.) Follow the wizard again by selecting ENG extension. When it comes to 
the finish page, it indicates that it will delete the japanese setting and 
add the new english setting. What is this?

12.) After it finishes, I found a new ENG folder under my langtest folder, 
however, there are also a lot of files without .ENU or .DLL file. Also, I 
cannot add both .rc filesto my original project. What should I do then?

13.) Testing by double click the exe file, it fails to recognize the 
japanese Windows XP.

What are the correct steps to perform this task?

Any help will be highly appreciated and thank you for your time in advance. 
I am looking forward to an answer.

p.s.: sorry for my poor English as I am a Chinese working in Japan. I hope I 
have described my question clearly.

Sincerely,

Elena 
Technical Details
Message-ID: <4166208f@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10297d,e97567073dcbb760,start
X-Google-Attributes: gid10297d,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Elena" <yiyun@basenet.co.jp>
Newsgroups: borland.public.cppbuilder.internationalization
Subject: Multi language support with the Resource Dll Wizard in C++ Builder 6
Date: Fri, 8 Oct 2004 14:07:31 +0900
Lines: 62
Organization: Base
MIME-Version: 1.0
Content-Type: text/plain;
 format=flowed;
 charset="iso-2022-jp";
 reply-type=original
Content-Transfer-Encoding: 7bit
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
NNTP-Posting-Host: 222.146.199.190
Message-ID: <4166208f@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1097212047 222.146.199.190 (7 Oct 2004 22:07:27 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail