Questions tagged [input-language]

37 questions
10
votes
1 answer

Hook/detect windows language change even when app not focused

Is there a way to detect if the windows/os language changed even when my app is not in focus? So far I was able to achieve what I wanted only if the app was focused using: string language =…
Ron
  • 3,975
  • 17
  • 80
  • 130
6
votes
2 answers

Change input language of another application

I want to change the input language of the active window. The problem is that the active window is not my application. I know about InputLanguage.CurrentInputLanguage = lang; but it changes the language for my WinForms application and not for the…
yanivps
  • 1,993
  • 3
  • 25
  • 33
5
votes
1 answer

Delphi: TRichEdit Text in non-default non-Unicode system language as String (ANSI)

So here's the setup: Make a new Delphi 7 application with a TRichEdit control on it. We are talking non-Unicode applications here. Install a new Input language in Windows' Regional and Language Options, that has a different encoding from the…
jedivader
  • 828
  • 10
  • 23
3
votes
3 answers

How to determine the language of keyboard input using JQuery

I have an application that accepts input in two languages (English and Arabic) I'm validating the input textbox , the validation logic is not the same for English and Arabic, so I need to know what is the language the user is typing all the…
Maha Khairy
  • 352
  • 5
  • 15
3
votes
2 answers

Urdu writing in text box in vb.net

I am using following code to enable my text box to write in Urdu but it is typing in English as usual. Please advise what do I need to make my textobx, take urdu as input Thanks Dim x As New System.Globalization.CultureInfo("ur-PK") …
Furqan Sehgal
  • 4,917
  • 33
  • 108
  • 167
3
votes
1 answer

How to change the input language when an entry gets focused in Gtk Python

I want to change the input language when an entry gets focused (or dialog is shown) in Gtk Python. In my program, a dialog appears many times and the user must enter some texts. In systems which allow different keyboard layout for each window, the…
3
votes
1 answer

Keyboard layout doesn't appear in Languages & Inputs

So one day, no idea how it happened, my windows 10 PC added "English UK" to the keyboard layouts list. I already had "English US". So now, when I Alt+Shift through the layouts I have both US and UK layouts. Later, "English INTL" was added too. So…
Tal Mantelmakher
  • 994
  • 1
  • 7
  • 23
3
votes
1 answer

Custom SoftKeyBoard in Android?

Does SoftKeyBoard support the Indian Languages(Hindi,Tamil,Telugu,etc) in Android? The packages Locale and UnicodeBlock are used for the Fonts. But how to integrate the Custom IME in it? the sample in the developer site is not enough. Can you…
Praveen
  • 90,477
  • 74
  • 177
  • 219
3
votes
1 answer

Change InputLanguage doen't work WPF

I've problem with OSK in WPF. I change the InputLanauage by InputLanguageManager like this: InputLanguageManager.SetInputLanguage(_targetKeyboardWindow, CultureInfo.CreateSpecificCulture("ru")); But it doesn't work. I need to change the actual view…
Mateusz Dembski
  • 427
  • 1
  • 5
  • 15
2
votes
1 answer

How to translate a string from a keyboard layout to another?

I sometimes type with the wrong input language; I like to be able to convert the text typed incorrectly into the correct input language programmatically. I currently use this approach: ## export…
2
votes
0 answers

.NET: When is InputLanguageManager.Current null?

We are using the following code to set the input language on the operating system: InputLanguageManager.Current.CurrentInputLanguage = initialCulture; It works on development pc, but on production pc Current is null. InputLanguageManager.Current is…
Powerslave
  • 531
  • 2
  • 7
  • 24
2
votes
1 answer

How to detect keyboard input code page

I need to detect the code page the keyboard input is using while user is entering data into application fields. I tried to use System.Text.Encoding.Default.CodePage; but it gives the code page of what is configured in regional settings. Then i…
user1651105
  • 1,727
  • 4
  • 25
  • 45
2
votes
2 answers

Installing and Deleting Input Languages using C# or VB.net

Is there any way to install/delete input language in Windows using c# or VB? I'm aware about InputLanguage class. But that doesn't provide functions to install/Delete input languages. Even if I change CurrentInputLanguage to any of…
Krishanu Dey
  • 6,326
  • 7
  • 51
  • 69
1
vote
0 answers

How to switch input language in Qt application?

I'm writing a simple Qt application for Windows platform. I need to set input language for QPlainTextEdit for it to be non-English by default. How can I do that? All I could find so far is non-working example: QApplication Application(argc,…
Andy
  • 71
  • 4
1
vote
1 answer

can't change input language for ahk_class #32770

I use several languages on my PC, and I often use autohotkey to switch among them. In one situation, I wrote a script to switch to English in the popup window for saving a file or a webpage, with wintitle being ahk_class #32770. It doesn't work. The…
David H. J.
  • 340
  • 2
  • 12
1
2 3