JM:I have a dream,期待和你一起去实现!
原文及译文
JM
网友:Arcturus

        RichTextBox支持拼写检查选项,这是非常好的。 (SpellCheck.IsEnabled = true)...

推荐:想去Google查资料?(你懂的)想建站?想测试?想挂机?想折腾?想要高性价比的服务器?点我!!


WPF的TextBox是否支持荷兰的拼写检查字典?(Does WPF's TextBox support spell-check dictionaries for the Netherlands?)

RichTextBox支持拼写检查选项,这是非常好的。 (SpellCheck.IsEnabled = true)

但是我似乎无法把它转换成另一种语言。 (我住在荷兰..))

你们有没有使用TextBox的SpellCheck选项的经验?

我知道它可以通过改变键盘设置来改变,但我想在应用程序中改变它。

我到目前为止所尝试的(并没有工作):

Changing the CurrentCulture on the current Thread. Changing the Language property in xaml in "nl-NL" Changing the Language property in code with the XmlLanguage.GetLanguage("nl-NL");

你不应该得到任何拼写错误与下面的行:

“你是荷兰人呢?”

我的语言的RFC 3066语言键是“NL-NL”

非常感谢,里克


The RichTextBox supports a spellcheck option which is very nice. (SpellCheck.IsEnabled = true)

But I cannot seem to get it to another language. (I live in the Netherlands.. ;))

Does any of you have an experience with the SpellCheck option of TextBox?

I know it can be change by changing the keyboard settings, but I want to change it in the application.

What I have tried so far (and did not work):

Changing the CurrentCulture on the current Thread. Changing the Language property in xaml in "nl-NL" Changing the Language property in code with the XmlLanguage.GetLanguage("nl-NL");

You should not get any spelling errors with the following line:

"Dit is een Nederlandse tekst."

The RFC 3066 language key of my language is "nl-NL"

Many thanks, Rick


解决方案(由网友torial提供)

此链接表示您的语言不是拼写检查支持的四种语言之一:http://www.dev102.com/2008/03/25/customize-spellcheck-on-wpf-text-controls/

不知道为什么他们只限于4种语言。我最初的搜索没有找到解决方法。 :-(


This link indicates that your language is not one of the 4 languages that SpellCheck supports: http://www.dev102.com/2008/03/25/customize-spellcheck-on-wpf-text-controls/

Not sure why they limited it to only 4 languages. My initial searches did not find a workaround. :-(


推荐:想去Google查资料?(你懂的)想建站?想测试?想挂机?想折腾?想要高性价比的服务器?点我!!


关于站长

JMJavaMethod的缩写,苦逼码农一个,一直想有番作为,奈何人老力衰,只能四处膜拜大佬以获得动力。已经从单机、局域网、互联网、混到了移动互联网,未来希望能在AI世界里继续混下去。这辈子有个终极目标:财务自由,心灵自由。

近期公告

一个人苦逼开发多日,网站终于正式上线,求关注!!! 一个人苦逼多日,终于正式上线,求关注!!!

找他  
猜你喜欢
想建站?想测试?
想挂机?想折腾?
想去Google查资料?(你懂的)
想要高性价比的服务器?
搬瓦工VPS - 性价最高的美国便宜VPS主机
友情链接

冀ICP备17016304号 版权所有 © JavaMethod.com All Rights Reserved,Theme by 拼图