Could someone please tell me or direct me to an answer: How can I get the CKeditor spellchecker to use British English? It doesn't show up in the list of available languages in the basic settings.
When I look around there are some files referring to British English, such as ckeditor/lang/eng-gb.js, but I don't know how they might relate to the problem at hand. Other languages in that directory do show up in the basic settings pulldown and do function.
I looked around on the CKeditor site, and there was some mention about how en-gb should be en_GB but it's not clear to me where they are talking about and even if that's for the spellchecker.
It doesn't need it to adapt according to the user's language settings - It just needs to work for British English and stay that way.
I didn't have any better luck with FCKeditor, hence my move to CKeditor, which is great otherwise. I'd like to keep it.
Has anyone managed to get British English spellchecking to work with CKeditor, and if not is there another editor available through the Wysiwyg module where it does work?
Comments
Comment #1
juroon commentedSometimes things are way more simple than you expect them to be. If you use CKeditor, with the spellchecker button enabled, you can click open it's icon in the menu bar and select "Languages" and British English is in the list.
I can't check yet if it detects the right language on its own once enabled, or you have to always select your language, but at least it's there and it works.
I'm closing this myself.
Comment #2
tallsimon commentedI still need to be able to set the default language, i can't expect every user to work this out! can this be done in the config.js file? Or is the language setting here not for the spellchecker?
Comment #3
twodThe config.js file is not loaded when CKEditor is used under Wysiwyg as it passes all its settings directly as an argument during instance creation.
I'm not sure if the language setting affects the spellchecker as well as the interface language, but I know CKEditor can't autodetect it. The language setting on admin/settings/wysiwyg/#/profile (where # is your editor profile id) under Basic options affect this editor setting, but Wysiwyg can't currently adapt this value depending on Drupal's UI/content language (which only affects multi_language sites).
If you need to change another setting which there's currently no UI widget for, you can implement hook_wysiwyg_editor_settings_alter() in PHP to override these settings. There are a couple of examples in some recent issues on how to use this hook.
Hope that fixes your problems.
Comment #5
longwaveFor reference:
Comment #6
longwaveFixing component