Skip to content

Display dialogs using OS language #51

Open
@augustoproiete

Description

@augustoproiete

Allow users to easily open dialogs in different languages. The behavior should be the same as using the standard dialogs in Windows Forms.

A possible workaround for now is to call SetThreadUILanguage with the desired Windows Language Code Identifier (LCID):

For example, for French:

[DllImport("Kernel32.dll", CharSet = CharSet.Auto)]
static extern System.UInt16 SetThreadUILanguage(System.UInt16 LangId);

SetThreadUILanguage(1036); // French

image


Originally reported by @DineshSolanki via #50

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions