I found a workaround finally. I can use per application input language (in win10 language setting) and the default language to solve my issue.
Thanks,
Search found 2 matches
- Wed Nov 09, 2016 10:29 am
- Forum: General Questions
- Topic: How to set InputLanguage?
- Replies: 1
- Views: 1253
- Thu Nov 03, 2016 11:06 am
- Forum: General Questions
- Topic: How to set InputLanguage?
- Replies: 1
- Views: 1253
How to set InputLanguage?
I want to set "en-us" as the input language at the beginning of the test case. So I tried follow code: [language=C#] foreach (InputLanguage inputLanguage in InputLanguage.InstalledInputLanguages) { if (inputLanguage.Culture.Name.IndexOf("en") >= 0) { InputLanguage.CurrentInputLanguage = inputLanguag...