🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internationalization
4 messages
4 total messages Started by Christophe Thu, 13 Sep 2007 10:08
BDS 2007 dll expert ressource missing
#35
Author: Christophe
Date: Thu, 13 Sep 2007 10:08
2 lines
1266 bytes
Hello, I have to question. the first:i'm trying to translate my application on C++ builder 2007 professional, but i'm not able to find on menu File/new/other/ the "dll expert ressource" ? why?Andthe second: So i try to use the etm.exe in the bin folder from code gear, and it works to translate my form and my string table (.rc) but how to generate my  dll's resssource (appli.ENG)
Re: BDS 2007 dll expert ressource missing
#36
Author: Igor Siticov
Date: Fri, 14 Sep 2007 11:59
19 lines
1862 bytes
Hello,

If you have RC file for you resource DLL you can use Resource Builder 
(http://www.resource-builder.com) to create Resource Only DLL from this RC 
file.

-- 
Best regards.
TsiLang Components Suite - Best Globalization Tool 2004
http://www.tsilang.com
"Christophe" <christophe.abel@cirtes.fr> wrote in message 
news:46e90c2b$1@newsgroups.borland.com...
>
> Hello, I have to question. the first:i'm trying to translate my 
> application on C++ builder 2007 professional, but i'm not able to find on 
> menu File/new/other/ the "dll expert ressource" ? why?Andthe second: So i 
> try to use the etm.exe in the bin folder from code gear, and it works to 
> translate my form and my string table (.rc) but how to generate my  dll's 
> resssource (appli.ENG) 
Re: BDS 2007 dll expert ressource missing
#37
Author: Daniel Brunner
Date: Mon, 17 Sep 2007 10:46
56 lines
3235 bytes
Here's the way I'm translation my projects:

1. I use etm60.exe (from C++Builder 6) to create the .etm-project. Add all 
.dfm and .rc files to the project save it with the same name as the 
bcb-project in the same folder as the bcb-project (because of point 3).
 C:\MyProject\proj1.cbproj  --> C:\MyProject\proj1.etm

2. Let etm60.exe create a new (C++Builder 6) ressource project file in the 
language subfolder (C:\MyProject\FR\proj1.FR)

3. Create a new menu item in BCB2007 to open etm.exe (not etm60.exe because 
etm.exe has some new extra features) directly.
    - Tools \ Configure tools... \ Add...
    - Title: &Translation Manager
    - Program: C:\Programme\CodeGear\RAD Studio\5.0\bin\etm.exe
    - Parameter: $PATH($PROJECT)$NAMEONLY($PROJECT).etm

    This new menu item under Tools lets you directly open the etm project of 
the active bcb project.

4. Compile the translated ressources with C++Builder 6.

There is only one (huge) problem: sometimes when putting new controls on a 
form they are not automatically taken into the etm project.
The solution is the following:
1. Move (not copy) your .dfm and .dfn files from C:\MyProject\FR into an 
other folder C:\MyProject\FR\Save

2. Open etm.exe and let it recreate the files

3. Close etm.exe

4. Move only the .dfm file from C:\MyProject\FR\Save back to 
C:\MyProject\FR. The old .dfn file can be deleted now.

5. Reopen etm.exe. Every thing that has been translated and was different 
than in the original language is still translated. Every other line needs to 
be re-translated.


Very complicated I know but the only way to use BCB 2007 in a country with 
more than one single language.

Regards



"Christophe" <christophe.abel@cirtes.fr> schrieb im Newsbeitrag 
news:46e90c2b$1@newsgroups.borland.com...
>
> Hello, I have to question. the first:i'm trying to translate my 
> application on C++ builder 2007 professional, but i'm not able to find on 
> menu File/new/other/ the "dll expert ressource" ? why?Andthe second: So i 
> try to use the etm.exe in the bin folder from code gear, and it works to 
> translate my form and my string table (.rc) but how to generate my  dll's 
> resssource (appli.ENG) 
Re: BDS 2007 dll expert ressource missing
#38
Author: Christophe
Date: Tue, 18 Sep 2007 06:39
50 lines
2488 bytes

Thanks,

i found an other way to translate my project:

1. 
i create a french project (my base language) (.bpr) with builder 6 and i use expert dll ressource from builder 6 to create my english project(.ENG)

2. 
i open my project group with bcb 2007
i remove all dfm file from the .ENG project
i copy all .cpp and .h file from the initial project into the ENG folder (near the english .dfm and .dfn)
i add these .cpp (from the ENG folder) to my project.ENG

3. 
i must add inclusion file on .ENG project:($BDS)\include\vcl
put on RTTI/exceptions and clean the destructor options (C++ compil)
   i remove RTL dynamic from the both project
save all.

4.
i am able to build the ENG project under BDS 2007

more over it is possible to use etm to translate all dfm:
5.
i must put environment langage in my base language (french)
choose the base language: french.
the root folder is the folder of the french project
add the new language (check English)
add the .dfm, .rc,.drc file from the french project

6.
i translate and save the etm project (.bdsproj)
i update the translated form (under project, under file tab) 
save all

7.
i am able to build the ENG project under BDS 2007 
that's all folk!

when i add a new form on my french project i add it on my etm project, i translate it save.

i put the initial .cpp and .h into the ENG folder and add the .cpp to my .ENG project (BDS2007) and i build it
it works.

so i think there is an easier way by mixing this method to your's

bests regards
  Christophe
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads