Jump to content

Search the Community

Showing results for tags 'internationalisation'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Delphi Questions and Answers
    • Algorithms, Data Structures and Class Design
    • VCL
    • FMX
    • RTL and Delphi Object Pascal
    • Databases
    • Network, Cloud and Web
    • Windows API
    • Cross-platform
    • Delphi IDE and APIs
    • General Help
    • Delphi Third-Party
  • C++Builder Questions and Answers
    • General Help
  • General Discussions
    • Embarcadero Lounge
    • Tips / Blogs / Tutorials / Videos
    • Job Opportunities / Coder for Hire
    • I made this
  • Software Development
    • Project Planning and -Management
    • Software Testing and Quality Assurance
  • Community
    • Community Management

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Delphi-Version

Found 1 result

  1. UCT_24

    Localization of VCL Dialogs

    Hello, i am having trouble "localizing" VCL built-in dialogs. Generally, i think there is multi-language support for the VCL. Also, there are means of localizing custom forms and vcl controls at runtime. But i could not find documentation or examples on how i can have for example the buttons in a "Vcl.Forms.TApplication.MessageBox" displayed with english or german captions? The Captions vary when using the System settings, switching "Windows language", but i would like to switch language "at runtime" of the application, so, if you like. To be more precise: For example i call the MessageBox function and have it displaying one "OK" and one "CANCEL" button. I would like to make sure in application code that the Button Captions are displayed in english or german (independent of the windows language settings). The same applies for the VCL "Dialogs::MessageDlg" buttons. Buttons are added by "System::Uitypes::TMsgDlgBtn"-type idenifiers, but the resulting buttons on the form can not be localized in the described way. This should also apply for "shortcut" caption extensions. For example i add a menu with a TShortCut that is using a key identifier (extern DELPHI_PACKAGE System::Classes::TShortCut __fastcall ShortCut(System::Word Key, System::Classes::TShiftState Shift);). These ShortCuts are displayed on the UI as a "caption extension". But i do not know how to have them displayed according to language chosen at runtime. Is this maybe impossible to switch display language of such controls at runtime? And if possible, does anyone know how to achieve this? Thanks in advance and kind regards, Ulrich
×