This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.

Translation of LMDDirDlg

Hi,

I'm using Delphi Tokyo and LMDDirDlg and I need to translate the dialogue and also all messages it can produce into multiple languages.  How can this be done?

Thanks

Comments

  • Is there somehow another way to get support from LMD in this matter? For us this answer is quite urgent.
  • Used strings are declared in LMDConst unit as "resourcestrings". You can use standard Delphi resourcestring translation way.

  • Thanks. What do I need to do? We support 22 languages that can be changed on the fly and currently I am loading the strings from a DLL that we have created
  • >>We support 22 languages that can be changed on the fly and currently I am loading the strings from a DLL that we have created<<
    And what technique or tool is used? 
    The Delphi documentation describes the way how to handle delphi resourcestrings: 
    If you use a different way, you need to make sure that resource strings are replaced at runtime by your tool. As mentioned you find LMDConst.pas in lmdcore\strings subfolder all resources with their names (and translations for a few languages). 
  • Thank you, I found in the internet a helpful procedure "HookResourceString" which I am using to get the right translation. With that I am able to change the language on-the-fly and everything will have the right translation

Sign In or Register to comment.