17
$\begingroup$

Version 11 brings real-time multilingual spell checking. The linked page says,

The language is automatically detected as you type, but it can also be set manually.

How do I set the spell checking language without changing the user-interface language?

$\endgroup$
1
  • 1
    $\begingroup$ That's a very interesting question. $\endgroup$
    – rcollyer
    Aug 9, 2016 at 14:20

2 Answers 2

14
$\begingroup$

I do not know where there is a way to set this in the Preferences dialog, but it is changeable in the Options Inspector: search for "DefaultNaturalLanguage" and change the value of the drop-down. For example, with English as the interface language, changing the DefaultNaturalLanguage to Spanish causes English words to be flagged, as expected, but the interface does not change.

enter image description here

$\endgroup$
1
  • $\begingroup$ Hello. I have version 11.1.1.0 with an english user interface on MacOS 10.12.6. I am currently editing a notebook with a text in French. I did set DefaultNaturalLanguage for the notebook as indicated here, but each (correctly spelled) french word keeps being detected as a spelling error (red zigzag). I am missing something. Can someone please help ? PS. Note that a multilingual text is correctly checked on the text editor of the system, so the problem is from within Mathematica. $\endgroup$ Oct 24, 2017 at 19:44
18
$\begingroup$

To change the DefaultNaturalLanguage for the current notebook for example to "German" one can use

CurrentValue[EvaluationNotebook[], DefaultNaturalLanguage] = "German"

The default is

CurrentValue[EvaluationNotebook[], DefaultNaturalLanguage] = Language

CurrentValue[Language] gives the actual current value of the default.

$\endgroup$
1
  • $\begingroup$ Same problem with Mathematica 13.1. Did someone saw this multilingual spell check working ? $\endgroup$ Dec 29, 2022 at 19:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.