Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How To Detect Language Changes While Runtime ? (C#)

I want to detect when the user is changing his language on the keyboard. For example, I want to know if the user is using English, and then changing the language to French. I want to detect this change from all the active threads. I mean that I want to know when that change happens in the OS, And not in some specific thread.. I'm using C# language.(Console Application)

Can Anyone help me to figure it out? I will be glad to some help.. Thank You.

like image 357
Aviv Avatar asked Sep 15 '13 16:09

Aviv


1 Answers

If you develop using WinForms use InputLanguageChanging event

like image 138
Gary C. Avatar answered Sep 17 '22 09:09

Gary C.