用英语以外的其他语言输入应用程序 [英] application input in languages other than English

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

问题描述

嘿朋友,我正在尝试制作一个Wpf应用程序,该应用程序接受阿拉伯语或英语以外的其他语言的输入.我真的不知道我要关心的是什么.我是否需要关心来自Os方面?
(我已经通过使用font-family进行过尝试.但是我知道这不是正确的方法.除了font-family和resource之外,还应该有其他解决方案)

Hey friends i am trying to make a Wpf application that accepts its inputs in Arabic or some languages other than English.I really don''t know what all things, i have to care about.Do i have to care something from the Os side?
(i have tried it by using the font-family. But i know that its not the right way to do it.there should be some other solution other than font-family and resource)

推荐答案


只需创建一个包含所有外来字符(非ASCII字符)的虚拟键盘.
然后每个按键的click事件放入
Hi
Just create a virtual keyboard with all the foreign characters (non ASCII characters).
Then each key''s click event put
textbox1.Text = textbox1.text + button1.Text;


这是C#,不是WPF,所以我不确定代码是否完全相同.
WPF 确实支持那些奇怪的字符.

雅克

P.S.您可能需要一些虚拟键盘,可通过下拉菜单更改.例如中文,阿拉伯文,拉丁文等.


This is C#, not WPF, so I''m not sure if the code is exactly the same.
WPF does support those strange characters.

Jacques

P.S. You might want a few virtual keyboards, changeable by a drop down menu. e.g. Chinese, Arabic, Latin etc.


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

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