You are not logged in.

  • Index
  •  » News
  •  » TinyMCE Spellchecker PHP 1.0.5 Released

#1 2007-05-28 11:31:20

spocke
Administrator
From: Sweden, Skellefteå
Registered: 2004-11-25
Posts: 11253
Website

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

Offline

 

#2 2007-05-28 12:44:00

Peter
Member
Registered: 2006-03-08
Posts: 29

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):

Code:

    // 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)

Offline

 

#3 2007-05-28 13:43:01

knut_jacobsen
TWG Member
From: Os, Hordaland, Norway
Registered: 2005-05-30
Posts: 128
Website

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?

Offline

 

#4 2007-05-28 13:57:25

spocke
Administrator
From: Sweden, Skellefteå
Registered: 2004-11-25
Posts: 11253
Website

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

Offline

 

#5 2007-05-28 15:19:28

knut_jacobsen
TWG Member
From: Os, Hordaland, Norway
Registered: 2005-05-30
Posts: 128
Website

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)

Offline

 

#6 2007-05-28 16:03:36

spocke
Administrator
From: Sweden, Skellefteå
Registered: 2004-11-25
Posts: 11253
Website

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

Offline

 

#7 2007-05-28 19:47:16

knut_jacobsen
TWG Member
From: Os, Hordaland, Norway
Registered: 2005-05-30
Posts: 128
Website

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?

Offline

 

#8 2007-05-29 09:28:54

holtbakk
Member
Registered: 2007-05-16
Posts: 3

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)

Offline

 

#9 2007-05-29 11:17:14

MeAngry
Member
From: Eindhoven, Netherlands
Registered: 2006-11-17
Posts: 23

Re: TinyMCE Spellchecker PHP 1.0.5 Released

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

Offline

 

#10 2007-05-29 13:30:51

knut_jacobsen
TWG Member
From: Os, Hordaland, Norway
Registered: 2005-05-30
Posts: 128
Website

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

Offline

 

#11 2007-05-29 14:01:26

knut_jacobsen
TWG Member
From: Os, Hordaland, Norway
Registered: 2005-05-30
Posts: 128
Website

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",

Offline

 

#12 2007-06-01 10:30:22

kills
Member
Registered: 2005-06-14
Posts: 110

Re: TinyMCE Spellchecker PHP 1.0.5 Released

maybe a problem with the å

Offline

 

#13 2007-06-01 16:39:53

knut_jacobsen
TWG Member
From: Os, Hordaland, Norway
Registered: 2005-05-30
Posts: 128
Website

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)".

Offline

 

#14 2007-06-05 10:22:16

nhoj
Member
Registered: 2007-05-25
Posts: 8

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.

Offline

 

#15 2007-06-05 11:55:59

knut_jacobsen
TWG Member
From: Os, Hordaland, Norway
Registered: 2005-05-30
Posts: 128
Website

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

Offline

 

#16 2007-10-12 13:38:16

demon327
Member
Registered: 2007-10-12
Posts: 2

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

Offline

 

#17 2007-10-12 18:55:54

spocke
Administrator
From: Sweden, Skellefteå
Registered: 2004-11-25
Posts: 11253
Website

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

Offline

 

#18 2007-10-12 21:13:01

demon327
Member
Registered: 2007-10-12
Posts: 2

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 :$

Offline

 
  • Index
  •  » News
  •  » TinyMCE Spellchecker PHP 1.0.5 Released

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB