Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 742089
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T08:42:28+00:00 2026-05-14T08:42:28+00:00

I need to turn spellcheck on for a richtextbox, and set the language to

  • 0

I need to turn spellcheck on for a richtextbox, and set the language to one the user has picked from a drop down. For now, I’m just testing it by building the richtextbox in xaml and providing a language to the xaml language attribute.

I’ve read two different resources and one says I need to set the language attribute, and the other says I need to set the xml:lang attribute. Neither seems to work. I’ve tried setting either one to “es” for Spanish, and I’ve also tried setting both to “es”. I’ve also tried french by setting them to “fr-FR”, without success. The only thing that happens is that english words aren’t marked, but the other language words are marked as misspelled.

I also read that I need to change the keyboard language. This would be a problem for my application as the language within the application needs to be switched on the fly, so having the end user go to their keyboard settings just so spellcheck will work is a problem. However, I’ve changed my keyboard settings, and spell check still does not work properly. This time it doesn’t mark anything as misspelled, even misspelled english words.

What am I missing?

Edit:
some links to my references above
http://msdn.microsoft.com/en-us/library/system.windows.controls.spellcheck(v=VS.100).aspx

http://www.dev102.com/2008/03/25/customize-spellcheck-on-wpf-text-controls/

http://books.google.com/books?id=clLc5BBHqRMC&pg=PA121&lpg=PA121&dq=C%23+wpf+enable+spellcheck&source=bl&ots=_r59pZRDjP&sig=yHMBc39EHKK5gaRMzxlBaEsY890&hl=en&ei=oXnIS8zWH4G88gaq48yGBw&sa=X&oi=book_result&ct=result&resnum=6&ved=0CBMQ6AEwBQ#v=onepage&q&f=false

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T08:42:29+00:00Added an answer on May 14, 2026 at 8:42 am

    From the MSDN forum:

    “First, we exactly components do we need for WPF to enable spell check for English/Spanish/German/French languages?

    NetFx 3.5 SP1

    Windows XP (Language Packs); Windows Vista (Out of box); Windows 7 (Out of box)

    NetFx 4
    Windows XP (Language Packs); Windows Vista (Language Packs); Windows 7 (Language Packs)

    Here ‘Language Packs’ means you need to install corresponding .NET Framework Language Packs. For example, if you want to enable Spanish spell check on Windows XP and .NET Framework 3.5 SP1, then you install the .NET Framework 3.5 SP1 Spanish Language Pack. And if you want to enable German spell check on .NET Framework 4.0, then you install the .NET Framework 4.0 German Language Pack.

    The Language Packs for .NET Framework 4.0 will be available soon.

    Out of box means you don’t have to do anything and the spell check for the four languages are automatically available.

    If you’re deploying your application via ClickOnce, you can include the corresponding language packs as prerequisites. For help on including language packs in a ClickOnce deployment, you can use the ClickOnce and Setup & Deployment Projects Forum.

    Second, how does RichTextBox control determine the language to check?

    If a Run element is marked with specific language, spell check will use it:

    uno dos tres cuatrro

    one two three fourr

    At runtime, the spell check uses the input language that was used to type in the words, as described in previous post.

    http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/06a2cc61-f2ae-4534-b35a-6c676bc2bcb2/?prof=required

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two UISwitch....and i need to turn off the first one when the
I have a user supplied string, that I then need to turn into a
I need to turn a App / Widget Service off when a user isn't
I'm using jqPlot and I need to turn this JSON which I receive from
Short question: I need to turn a dynamic image pulled from a database into
I need to turn off jQuery Mobile's styling of <select> drop downs. Ultimately I'd
I have the following string coming in from users and need to turn it
I need to turn the following results... RowID ColumnName Value ======= ============ ========== 200
I have an projector file/Flash application that I need to turn into an interactive
Ok guys, need to turn off the cookies in my ASP.net site completely I'm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.