Closed (fixed)
Project:
CKEditor 4 - WYSIWYG HTML editor
Version:
7.x-1.9
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Jul 2012 at 11:53 UTC
Updated:
24 Aug 2024 at 09:56 UTC
Jump to comment: Most recent
Comments
Comment #1
mkesicki commentedYou can change SCAYT language by expanding SCAYT options (click on arrow on SCAYT button) and then chose 'languages'. In dialog window which should appear you can choose language to use during checking text. If this doesn't help , please reopen this ticket and write if you see any errors in Firebug or similar tool.
Comment #2
mrpauldriver commentedThanks for that, I have functionality working now, but find that the dictionary is not much use.
It corrects obviously mis-spelled words like 'asdsdasda' but seem unable to spot the difference between proper English and US English
For example 'colour' and 'localisation'
Comment #3
mkesicki commentedPlease remember that SCAYT is external service to check text syntax (http://www.webspellchecker.net/v3/index.html).
SCAYT is designed to check language correctness but of course as all software it can have some 'weaknesses' but it evolves. In general we think that using software which is specially designed to spell check is much better solution for this feature.
Comment #4
mrpauldriver commentedJust reopening this.
Is there a way of setting a default language?
It seems that the default is always US English and this has to be changed each time the editor is loaded. Or am I missing something?
Comment #5
mrpauldriver commentedI figured this out eventually. As below if anyone else needs the solution.
Edit the ckeditor.config.js file which is found at sites/all/modules/ckeditor/
Add the following line to ckeditor.config.js
config.language = 'uk-gb';I found that it was also necessary to clear my browser history cache as well.
EDIT
------
I thought I had figured this out, as above. But actually this approach has not worked.
What is strange is that it seems to work some of time. Is the language selection, stored in a cookie perhaps?
Comment #6
Anonymous (not verified) commentedI use version 1.13 of the ckeditor module.
Found this solution here:
- http://designbyjeeba.blogspot.de/2010/06/change-scayt-language-in-drupal...
Comment #7
demonde commentedThe right way is to put
config.scayt_sLang = 'de_DE';(or whatever language)
in the advanced javascript configuration.
reference: http://docs.ckeditor.com/#!/guide/dev_howtos_scayt
Comment #8
demonde commentedI would like to change this to a feauture request, so the scayt language can be chosen.
Comment #9
ken hawkins commentedFor others that come to this issue via google, know that you also need to disable the user's ability to specify a default language in the UI:
This wasn't covered in the CKEditor docs; link to Github issue: https://github.com/ckeditor/ckeditor-dev/issues/1678
Comment #10
xorunaThanks ken hawkins!