Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Spellchecking of non-English languages
Spellchecking of non-English languages [message #793650] Wed, 08 February 2012 06:50 Go to next message
Amenel Voglozin is currently offline Amenel Voglozin
Messages: 16
Registered: September 2009
Junior Member
Hi,

I have used Eclipse + PDT to write the English version of my website. Fast forward a few months later, I am writing the French part of my website. And I seem to have hit a snag in the spellchecker: there is no way to configure Eclipse so that the spellchecking is done in only one language, if that language is not English.

For instance, with "Platform Dictionary" (Preferences > general > Editors > Spelling) set to "anglais (Etats-Unis)" (i.e. English (USA)), I have no problems at all: I can use a user dictionary for words such as "fretboard", "smartphone", "diatonic" or "firewall" that aren't included in the platform dictionary.

When I wanted to switch to French, I set "Platform Dictionary" to "none" and indicated a wordlist file for French as user dictionary. Well, this doesn't do the trick because wrongly spelled words are no longer underlined. It seems like option "none" deactivates spellchecking altogether.

So the only option to have French validated is to have Platform Dictionary to something else than "none", which isn't a solution either since "antivirus" is valid French and "anti-virus" is valid English. "Platform" is valid English and "plateforme" is valid French. The odds of letting errors slip into the text are high given the number of words that share similar spellings in these two languages ("address", "adresse", "cane", "canne", etc.)

Does anyone know:
* how to add a platform dictionary so that I can add French?
* how to redirect the platform dictionary files to empty files so that spellchecking French doesn't end up in spellchecking English+French?

My first move was to go open a bug report but I thought I might as well come over here and ask for confirmation as workarounds first.

Thanks.
Re: Spellchecking of non-English languages [message #800658 is a reply to message #793650] Fri, 17 February 2012 05:20 Go to previous message
Dani Megert is currently offline Dani Megert
Messages: 3801
Registered: July 2009
Senior Member
On 08.02.2012 12:50, Amenel Voglozin wrote:
> Hi,
>
> I have used Eclipse + PDT to write the English version of my website.
> Fast forward a few months later, I am writing the French part of my
> website. And I seem to have hit a snag in the spellchecker: there is
> no way to configure Eclipse so that the spellchecking is done in only
> one language, if that language is not English.
>
> For instance, with "Platform Dictionary" (Preferences > general >
> Editors > Spelling) set to "anglais (Etats-Unis)" (i.e. English
> (USA)), I have no problems at all: I can use a user dictionary for
> words such as "fretboard", "smartphone", "diatonic" or "firewall" that
> aren't included in the platform dictionary.
>
> When I wanted to switch to French, I set "Platform Dictionary" to
> "none" and indicated a wordlist file for French as user dictionary.
> Well, this doesn't do the trick because wrongly spelled words are no
> longer underlined. It seems like option "none" deactivates
> spellchecking altogether.
>
> So the only option to have French validated is to have Platform
> Dictionary to something else than "none", which isn't a solution
> either since "antivirus" is valid French and "anti-virus" is valid
> English. "Platform" is valid English and "plateforme" is valid French.
> The odds of letting errors slip into the text are high given the
> number of words that share similar spellings in these two languages
> ("address", "adresse", "cane", "canne", etc.)
>
> Does anyone know:
> * how to add a platform dictionary so that I can add French?
> * how to redirect the platform dictionary files to empty files so that
> spellchecking French doesn't end up in spellchecking English+French?
>
> My first move was to go open a bug report but I thought I might as
> well come over here and ask for confirmation as workarounds first.
See https://bugs.eclipse.org/332024

Dani
>
> Thanks.
Previous Topic:[Common Navigator] adding children of an element
Next Topic:icon decoration order for content type
Goto Forum:
  


Current Time: Thu Jul 24 23:49:34 EDT 2014

Powered by FUDForum. Page generated in 0.01898 seconds