How to make the on-screen keyboard use only English, even if the settings are selected some other languages besides English?
Asked
Active
Viewed 115 times
1 Answers
0
Sorry, you cannot change the keyboard language in code on WP7.
Update
I did a bit of research on pulling the current language (Locale) from the app thread and came up with this post on in-app language selection in code. This looks like it was designed to localize text, however, I have a hunch the keyboard language will follow suit. Good Luck!
http://dotnetbyexample.blogspot.com/2011/07/mvvmlight-based-language-selection-for.html
Thread.CurrentThread.CurrentUICulture = new CultureInfo(CurrentLanguage.Locale);
Thread.CurrentThread.CurrentCulture = Thread.CurrentThread.CurrentUICulture;

Inkog
- 136
- 3
-
Perhaps there is way to check language button was clicked? – user1515455 Nov 15 '12 at 08:44
-
Unfortunately switching language on keyboard does not affect on Thread.CurrentThread.CurrentUICulture and Thread.CurrentThread.CurrentCulture properties – user1515455 Nov 16 '12 at 09:56
-
I need to prevent input non-latin characters in TextBox – user1515455 Nov 16 '12 at 17:12