Change default language for spellchecker.

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
10/24/2010 6:31:47 AM
Gravatar
Total Posts 123
/Mats Lillnor

Change default language for spellchecker.

mojoPortal Version 2.3.5.4 MSSQL
Operating System Microsoft Windows NT 6.1.7600.0
ASP.NET Version v4.0.30319 Running in Full Trust
Editor: CKEditor

----------------------------------------------------------

The CK Editor has built in spellchecking as you type. Problem is that it is default set to English and when writing in Swedish it indicates that almost all words are wrongly spelled.

There is an option to change to Swedish which of course works fine when writing in forums etc., but many people don´t find this setting and it is cumbersome to have to change it for every post. Also, when giving feedback to blog-posts etc., there is a simplified version of the editor which does not have this option.

Is there a setting somewhere to change the default spell checking language for the whole site?

 

/Mats

10/24/2010 11:26:28 AM
Gravatar
Total Posts 123
/Mats Lillnor

Re: Change default language for spellchecker.

Preferably it should be set to the language configured in the browser if it is available.

 

/Mats

10/26/2010 6:51:36 AM
Gravatar
Total Posts 18439

Re: Change default language for spellchecker.

Hi Mats,

You can change the default language by using a custom configuration file for CKeditor as described here:

http://www.mojoportal.com/customizing-the-editor-toolbars.aspx

in your custom file you can set the default like this:

config.scayt_sLang = 'de_DE';

ref CKeditor documentation

http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.scayt_sLang

I do not think it should adapt to the browser language it should be based on the site language.

Hope it helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.