Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WPF spell check specific language

We are developing an application that needs a spell checker in multilanguage beginning. For cases in English, French, Spanish and German applying the RichTextBox works perfect language with xml property: lang = ... But when we apply the concealer with the Catalan language, this does not work. We tried putting the property xml: lang = "ca" which is code that recommends rfc 3066. I understand that .net should take the words of the languages I mentioned before somewhere to check whether it is correctly written. Are any language pack for Catalan must be installed? Are not .net support for this language?

like image 211
user2355027 Avatar asked May 03 '26 23:05

user2355027


1 Answers

In .NET Framework 4, WPF provides dictionaries for English, French, German, and Spanish.

This is from the MSDN on Spellcheck : https://msdn.microsoft.com/en-us/library/system.windows.controls.spellcheck%28v=vs.110%29.aspx

It also suggests how you can add custom dictionaries with lexicon files, which should help you implement what ever languages you need.

like image 173
BlindGarret Avatar answered May 05 '26 21:05

BlindGarret



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!