更改应用程序语言的文本框输入语言 [英] change textbox input language on change of app language

查看:94
本文介绍了更改应用程序语言的文本框输入语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个Metro应用程序,它为用户提供了更改语言选项,以便更改应用程序语言。我已经使用了资源文件,并且像这样编码



I am working on a metro app which provides a change language option to user, so that it changes the application language. I have used resource file for this and coded like this

<pre lang="c#">
    Windows.Globalization.ApplicationLanguages.PrimaryLanguageOverride = language.LanguageCode;





我还根据语言Left-to改变了UI方向-right或从右到左。

现在我希望当用户在文本框中从键盘输入一些文本时,它会以当前应用程序语言而不是系统语言输入输入。

我如何管理这个。



I also changed UI direction according to language Left-to-right or Right-to-left.
Now I want that when user enter some text from keyboard in textbox, it enters input in current application language not of system language.
How I manage this.

推荐答案

试试这个链接

http://fromjamitoothers.blogspot.in/2012/12/globalizationdo-and-dont.html [ ^ ]



希望这有助于
Try this link
http://fromjamitoothers.blogspot.in/2012/12/globalizationdo-and-dont.html[^]

Hope this helps


这篇关于更改应用程序语言的文本框输入语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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