How to maintain forms localisation in Delphi

Posted on 2011-05-12
Last Modified: 2012-05-11
I have starting using localisation in Delphi for my french application
I developed an "english" version
All forms were copied in a ENG sub-directory, DFN files were created and I translated all french string in english
That's fine
But now I want to make some modifications on some forms (add button, labels etc...)
How do I (or Delphi !) reflect that in the english version of forms ?
Question by:LeTay
    LVL 4

    Expert Comment

    A copy of the proiect means, Double effort on modification....
    Many programs use language files for localisation..
    A dictionary (KeyValuePair) like language file, will make everything much easier, no matter how nonsense
    the "Keys" are.
    Like Keys, CaptionOfLabelXOnForm13...

    Of course good keys will make more sense for further modification...
    I don't think delphi has a tool for passing the changes in a project to the copy of it..

    Author Comment

    The project is not copied
    I use the Delphi localisation feature
    This, as far as I know, mainly means that all forms definitions file (DFM) are copied in a (in my case) ENG subdirectory.
    Also, Delphi automatically creates DFN files
    I use then the translation feature of Delphi very easily to translate the french string on each form in english, inside the IDE with the translation interface. This means essentially the "caption" properties
    Once this is done, I compile. I get myapplication.exe (a single one) and a myapplication.eng (the english DLL)
    Of course for all french stuff like messages built inside the program, I created an internal "dictionary" for translation.
    Now my question is concerning the forms that I now want to maintain
    LVL 6

    Accepted Solution

    Delphi ITE engine already support it:
    Please click menu [Project], [Languages], [Update Resources DLLs]

    Author Closing Comment

    Indeed you are right !
    I completed missed that in the IDE

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Suggested Solutions

    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…
    Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    794 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

    15 Experts available now in Live!

    Get 1:1 Help Now