We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Change input language in runtime

Why does input language not changes when using that control? How can i switch input language, than it would be as the system input?
If i set Language to Language.CurrentInputMethodLanguageTag at start, it doesn't changes any way after that.

5 Replies

VM Venkatesan Mani Syncfusion Team November 15, 2016 11:35 AM UTC

Hi Alexander,

Thank you for using Syncfusion products.

Regarding changing the language:
The Language property of the Control is used to get or set localization/globalization language information that applies to a FrameworkElement. Please find more details from the following link

Language Property:

Changing the Input language at run time in UWP apps:
The language can be changed in runtime in UWP by using the runtime API Language.TrySetInputMethodLanguageTag. This method will only attempt to change the input language if the application is running on an IoT device. On non-IoT devices, it won’t change the input language. For further reference refer the below mentioned link.
MSDN link:

So we can input the Multilanguage in SfRichTextBoxAdv control, only by changing the system input language.

To switch the input language:
The system input language is the input language for the control. To add and change the input language in Windows 10. Follow the below mentioned steps,

To add the keyboards:
1. Click on the Start Menu and then click on Settings.
2. Click on Time & language and then click on Region & language
3. Click on the language you want to add a key board to and then click on options.
4. Click on Add a keyboard.
5. Click on the keyboard you want to add.

To change the keyboard:
Press Windows + Space bar to switch between the keyboards.

MSDN link:

Venkatesan M. 

AL alexander November 15, 2016 12:09 PM UTC

Thanks, but the problem is that input language doesn't change when system input language changes. I tried that in your Windows Store sample.
I set keyboard language to different that was on Sample browser launch, but it didn't change. When i relaunch Sample Browser, input language applies and never changes again.

Windows 10 Pro x64
Version 1607
Build 14393.447

VM Venkatesan Mani Syncfusion Team November 16, 2016 12:07 PM UTC

Hi Alexander,

Thank you for your update.

At present there is no support to switch between the languages at runtime in SfRichTextBoxAdv. A support incident to track the status of this feature has been created under your account. Please log on to our support website to check for further updates

Alternative solution:
As a work around you can change the input language at runtime in SfRichTextBoxAdv using a TextBox. While changing languages by moving the focus to Microsoft TextBox and back to SfRichTextBoxAdv control. We have prepared a sample to demonstrate the same. Please find the sample from following link.

Sample link:

Venkatesan M.  

AL alexander November 16, 2016 02:42 PM UTC

Thank you, that works!

VM Venkatesan Mani Syncfusion Team November 17, 2016 06:00 AM UTC

Hi Alexander,

Please let us know if you require any further assistance. We will be happy to assist you.


Live Chat Icon For mobile
Up arrow icon