1

Topic: TinyMCE Spellchecker PHP 1.0.5 Released

Minimal release to fix a crash problem in FF.

FF can crashes some times when it simply hides a opacity layer don't know why. This release fixes that problem by some workarounds.

Best regards,
Spocke - Main developer of TinyMCE

2

Re: TinyMCE Spellchecker PHP 1.0.5 Released

Thanks again for this update. But perhaps you should add the following code in config.php concerning Windows servers (as posted here):

    // Pspell shell specific settings
    if(preg_match("#win#i",php_uname())) {
        $spellCheckerConfig['tinypspellshell.aspell'] = 'aspell';
        $spellCheckerConfig['tinypspellshell.tmp'] = "";
    }
    else {
        $spellCheckerConfig['tinypspellshell.aspell'] = '/usr/bin/aspell';
        $spellCheckerConfig['tinypspellshell.tmp'] = './';
    }

And if the user gets "no mispelling found", then this can be caused by a failed creation of the tempfile. So the docs or the comments in config.php should contain a warning to configure these values very carefully.

Last edited by Peter (2007-05-28 14:11:38)

3

Re: TinyMCE Spellchecker PHP 1.0.5 Released

spocke wrote:

Minimal release to fix a crash problem in FF.

FF can crashes some times when it simply hides a opacity layer don't know why. This release fixes that problem by some workarounds.

This fixed the FF crash, but still can't find Norwegian spelling errors with the "TinyGoogleSpell.class" sad

Google Gmail does find spelling errors in my email - but I don't think they are using "nb" for "Norsk bokmål" - is there a way we could cheat/change the "nb" in TinyMCE to whatever Google uses?

4

Re: TinyMCE Spellchecker PHP 1.0.5 Released

You can try adding nb to the list of languages that are selectable. But I don't know what it supports or not since using their service is kind of a "hack". I suggest using aspell instead.

Best regards,
Spocke - Main developer of TinyMCE

5

Re: TinyMCE Spellchecker PHP 1.0.5 Released

spocke wrote:

You can try adding nb to the list of languages that are selectable. But I don't know what it supports or not since using their service is kind of a "hack". I suggest using aspell instead.

My Internett Provider is "a little difficult", so I'm trying to avoid "bothering" them..

Where can I find selectable languages?
I have this in TinyMCE's init:     spellchecker_languages            : "+Norsk(bokmål)=nb,Norsk(nynorsk)=nn",

Last edited by knut_jacobsen (2007-05-28 15:24:22)

6

Re: TinyMCE Spellchecker PHP 1.0.5 Released

Yeah, that's it. If the google remote service can't handle the codes right nb and nn. There is a problem with their service.

Best regards,
Spocke - Main developer of TinyMCE

7

Re: TinyMCE Spellchecker PHP 1.0.5 Released

spocke wrote:

Yeah, that's it. If the google remote service can't handle the codes right nb and nn. There is a problem with their service.

I think their code for "Norsk (bokmål)" is "no" not "nb" smile

How do you set up "Svensk" and certainly you have testet it?

8

Re: TinyMCE Spellchecker PHP 1.0.5 Released

As far as I know, google spellcheck supports the following languages - English, German, French, Italian, Polish, Finnish, Swedish, Danish, Portuguese, and Spanish (According to this article)

If you learn how to check for Norwegian, please let me know.

Last edited by holtbakk (2007-05-29 09:29:45)

9

Re: TinyMCE Spellchecker PHP 1.0.5 Released

I can confirm GoogleSpell also supports Dutch, so this list is definitely not complete.

10

Re: TinyMCE Spellchecker PHP 1.0.5 Released

holtbakk wrote:

As far as I know, google spellcheck supports the following languages - English, German, French, Italian, Polish, Finnish, Swedish, Danish, Portuguese, and Spanish (According to this article)

If you learn how to check for Norwegian, please let me know.

Googles Gmail does spellcheck correctly my email messages, so Norwegian language (Norsk bokmål) must be in there somehow smile

11

Re: TinyMCE Spellchecker PHP 1.0.5 Released

This document: http://gpsgfaq.googlepages.com/google_l … codes.html

states that Google Web Interface and Search Language Codes

is as follows:

hl=no          Norwegian
hl=nn          Norwegian (Nynorsk)

but changing the "nb" to "no" in the following doesn't work sad

    spellchecker_languages            : "+Norsk(bokmål)=no",

12

Re: TinyMCE Spellchecker PHP 1.0.5 Released

maybe a problem with the å

13

Re: TinyMCE Spellchecker PHP 1.0.5 Released

kills wrote:

maybe a problem with the å

Don't think so smile
Google is also naming my language "norsk (bokmål)".

14

Re: TinyMCE Spellchecker PHP 1.0.5 Released

You should check if the Google Toolbar is able to handle your language, not if Google Mail is, since the class of tinymce uses the same API like the Google Toolbar for spellchecking.

15

Re: TinyMCE Spellchecker PHP 1.0.5 Released

nhoj wrote:

You should check if the Google Toolbar is able to handle your language, not if Google Mail is, since the class of tinymce uses the same API like the Google Toolbar for spellchecking.

You were correct - Google Toolbar doesn't understand Norwegian sad

16

Re: TinyMCE Spellchecker PHP 1.0.5 Released

sorry for upping this topic but i need some help,i want to ad a dutch lang for spell checking but how can i do it?..,cause i dont seem to find it

17

Re: TinyMCE Spellchecker PHP 1.0.5 Released

If google don't support it it doesn't work. If you use pspell check the PHP docs and PSpell docs.

Best regards,
Spocke - Main developer of TinyMCE

18

Re: TinyMCE Spellchecker PHP 1.0.5 Released

spocke wrote:

If google don't support it it doesn't work. If you use pspell check the PHP docs and PSpell docs.

thx for the fast awnser, pspell  is not installed so i want to use google but i cant select any other lang then english..,wiki says i need to edit tinyMCE.init but i cant seem to find the file :$