[UWP] UWP在运行时更改触摸键盘语言 [英] [UWP]UWP Change touch keyboard language during runtime

查看:77
本文介绍了[UWP] UWP在运行时更改触摸键盘语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法在运行时更改Windows正在使用的语言?


我正在处理的应用程序将在自助服务终端环境中使用将由不同语言的人使用。因此,用户需要能够更改应用程序中的语言,这不仅会更改应用程序中显示的文本,还会更改Windows触摸键盘上的
输入语言。


在WPF中,您只需更改InputLanguageManager上的CurrentInputLanguage属性,但在UWP中似乎没有替代方法。


我知道我可以收听CoreTextServicesManager.InputLanguageChanged在Windows中更改输入语言的事件,但无法在任何地方找到从应用程序更改它。


谢谢

解决方案

你好,


不幸的是,我现在知道你不能这样做。 


Is there a way to change the language that Windows is using from a UWP app during runtime?

The app I am working on will be used in a kiosk environment and will be used by people with different languages. So the user needs to be able to change the language within the app, that will not only change the text displayed within the app, but also the input language on the Windows touch keyboard.

In WPF, you could simply change the CurrentInputLanguage property on the InputLanguageManager but there doesn't seem to be an alternative in UWP.

I know I can listen to the CoreTextServicesManager.InputLanguageChanged event when the input language is changed in Windows, but can't find anywhere to change it from the app.

Thanks

解决方案

Hello,

Unfortunately as I know currently you can not do that. 


这篇关于[UWP] UWP在运行时更改触摸键盘语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆