Internationalization of application

Posted on 2007-10-16
Last Modified: 2010-04-05
I wish to internationalize an application I have written. I have followed Borlands example of translating the DFM files & adding as a resource to a DLL & this works fine. I now wish to know how to add the applications resourcestrings to the DLL & use them in my application.
1) I have MyApp.exe, I translated the DFM's to say Italian & add them as resources to a DLL using {$R MyForm.dfm}
2) I rename the DLL from MyApp.DLL to MyApp.ITA
3) If I run MyApp on a PC with it's locale set to Italian the translated DFM's in MyApp.ITA are displayed instead of the DFM's compiled in MyApp.exe as required.
4) MyApp.exe has resourcestrings in English for text on form captions, buttons, message boxes etc. I wish to know how I can add translated resourcestrings to MyApp.ITA & use them in MyApp.exe if the PC's locale is set to Italian.

Question by:pr_wainwright
    LVL 28

    Accepted Solution

    well .. the way to go is to use the Resource DLL wizard. is thatv not how you did everything until now?
    LVL 1

    Author Comment

             The application is Delphi 3 with some obsolete components required so I can't use a newer version of Delphi. So far I have manually coded the resource DLL.

    LVL 5

    Assisted Solution

    Here is a free component with source code in case you are interested in trying it out.

    Hope it helps.
    LVL 1

    Author Comment

    ciuly / Steven-Fernandez,
                                           Thanks for the help but I finally figured out how to create a DRC file & use BRCC32 to compile it to a RES file. I then added the translated DFM's & the new RES file to a DLL. Renamed the DLL extension to the required locale e.g. ITA & bingo it worked.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
    Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now