I've been wondering if it was possible to implement multi-language spell checking as it is a feature I would enjoy.
As I understand this, to enable spell checking for all languages we have to change this:
|
const availableSpellCheckerLanguages = contents.session.availableSpellCheckerLanguages; |
|
const foundLanguages = locale.supportedSpellCheckLanguages[currentLocale].filter(language => |
|
availableSpellCheckerLanguages.includes(language), |
|
); |
|
contents.session.setSpellCheckerLanguages(foundLanguages); |
into this:
contents.session.setSpellCheckerLanguages(contents.session.availableSpellCheckerLanguages);
Although this doesn't seem like a really nice solution. Is a cleaner implementation planned? Should I attempt to implement this myself?
I've been wondering if it was possible to implement multi-language spell checking as it is a feature I would enjoy.
As I understand this, to enable spell checking for all languages we have to change this:
wire-desktop/electron/src/main.ts
Lines 582 to 586 in 5ccf093
into this:
Although this doesn't seem like a really nice solution. Is a cleaner implementation planned? Should I attempt to implement this myself?