Add language to Spell language list

Add language to Spell language list

by Christos Savva -
Number of replies: 4

Hello

I want to add Greek spell checker to the HTML editor.

I found the settings for the spelling under 

  •  Site administration
  •  /  Plugins
  •  /  Text editors
  •  /  TinyMCE HTML editor

And i added the folowing on the list of languages

Greek=el

Full String:

+English=en,Greek=el,Danish=da,Dutch=nl,Finnish=fi,French=fr,German=de,Italian=it,Polish=pl,Portuguese=pt,Spanish=es,Swedish=sv

Now, I can see Greek in the list of languages but when I click ABC nothing happens, Moodle does not regognise the mistakes.

My Spell engine is set to Google Spell

What am I doing wrong?

 

Thanks in advance

 

 

 

Average of ratings: -
In reply to Christos Savva

Re: Add language to Spell language list

by Mauno Korpelainen -

Default Spellchecker engine GoogleSpell supports only the following languages:

•Danish
•Dutch
•English
•Finnish
•French
•German
•Italian
•Polish
•Portuguese
•Russian
•Spanish
•Swedish

Adding Greek to your list of spell checker languages does not help because the GoogleSpell service itself has no translations for Greek.

Average of ratings: Useful (1)
In reply to Mauno Korpelainen

Re: Add language to Spell language list

by Christos Savva -

Thanks for the quick reply.

I didn't know that. Is there any other way to install spell check for Greek?

I tried to use browser Spell check but the editor disables the default right click  function of the mouse so you cannot spell check unless you go to HTML mode.

Any suggestions?

In reply to Christos Savva

Re: Add language to Spell language list

by Mauno Korpelainen -

No easy solution there... you might try PSpell:

http://www.tinymce.com/wiki.php/Plugin:spellchecker

If you wish to use the PHP integrated PSpell you need to have PSpell/Aspell installed on the server, as well as the dictionaries you wish to use and have this compiled with PHP.

http://www.php.net/manual/en/book.pspell.php

http://aspell.net/

ftp://ftp.gnu.org/gnu/aspell/dict/0index.html

Note however that as of php 5.3. Pspell is no longer officially supported/bundled.

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

You could also edit file lib/editor/tinymce/lib.php and remove

contextmenu,

from plugins row (that's the plugin that defines mouse right click menus in tinymce) to allow people use browser spell checkers...but then you will loose all custom righ click menu events of tinymce...

In reply to Mauno Korpelainen

Re: Add language to Spell language list

by Christos Savva -

Ok, thank you very much I will try to disable the contextmenu of tinyMCE