Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2007-03-03 19:00:39

rburko
Xinha Community Member
Registered: 2006-08-15
Posts: 22

Spell Check Languages

Hi Guys,

I’m trying to get the ‘spell check’ plug-in to work and I just have a quick question…

When the new window loads, I have a ton of different options in my ‘dictionary’ drop-down menu.

Where do these come from?
How do I remove some of these options and add options for other languages (ie. French)?

Example of Current Options:

en
en-variant 0
en-variant 1
en-w_accents
en_CA
etc…

Is it possible to specify the ‘default’ language somewhere?

Lastly, I noticed there is a ‘learn’ button in the spell checking window. Does this add the word to the dictionary or does it do something else that I’m totally missing?

--
Just one last silly question… I know there is a PHP and Perl version of this plug—in. I just sort of uploaded it and it worked. Is there any way to tell which version I’m running? As I understand it, the PHP version is better.

Thanks for your help!

Offline

#2 2007-03-09 18:57:05

rburko
Xinha Community Member
Registered: 2006-08-15
Posts: 22

Re: Spell Check Languages

Hi Guys,

I figured out how to remove the languages I didn't want.

But, I still can't figure out how to specify the 'default' language to use.

Right now it's using en_CA as the default instead of en_US.

This is because it's sorting alphabetically.

I know there must be a way to do this, but I'm stumped.

Any ideas?

Thanks in advance for your help!

Offline

#3 2007-03-13 09:09:28

jedi58
Xinha Authority
From: Leicester, UK
Registered: 2007-01-14
Posts: 113
Website

Re: Spell Check Languages

On a similar topic, I don't think the SpellChecker plugin shouldn't have support for Windows servers, at least not it's present state. For Windows server it requires the use of a copyrighted program called Aspell (copyrighted for english, and GPL for other languages and is pretty much the same as it's GNU equivalent). The GPL states that software under the GPL that is used by other pieces of work should conform to certain guidelines. In the case where the software is used interactively (which it is from the plugin) it should include the Copyright/GPL licence somewhere in what is outputted, even if it's from a link.


David G. Paul
[url]http://www.newearthonline.co.uk[/url]

Offline

#4 2007-03-14 11:00:57

rburko
Xinha Community Member
Registered: 2006-08-15
Posts: 22

Re: Spell Check Languages

Does anyone know how to specify the default language?

I’m sure a lot of people are using this plug-in and not everyone is using the default that is assigned as a result of being in alphabetical order.

I’ve searched all over (..and I’m sure it’s staring me right in the face!), but I can’t find the setting to specify the default language for when the spell checking interface loads.

Any help would be greatly appreciated.

Thanks!

Offline

#5 2007-03-14 17:23:39

ray
Xinha Administrator
From: Germany
Registered: 2005-03-23
Posts: 521
Website

Re: Spell Check Languages

I'm not familiar with the SpellChecker plugin, but there seem to be options that can  be set via the Xinha.Config object, i.e.

xinha_config.SpellChecker.defaultDictionary = 'en_GB';
xinha_config.SpellChecker.backend= 'php';

Maybe this helps...

Offline

Board footer

Powered by FluxBB