-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spellcheck language switcher #13317
Comments
Related #7773 |
Yes, but the UI to manage it does not. |
I've been looking into adding multi-language UII would go for something similar to the way email addresses and phone numbers are handled. ElectronElectron already seems to support this. So does the function in BrowserI don't really know how to implement this in the browser. Does anyone know? ImplementationI could probably implement this, at least on the desktop. I would go about in the following way:
This would solve this problem for the desktop app and leave space for later implementation in the browser. Should I attempt to implement this? Even if it was only for the Desktop, for now? |
Thanks a lot @SimonBrandner , I'd really appreciate any implementation, even if only for the Desktop.
This might be a bit of a long stretch, but the TinyMCE WYSIWYG editor has an option to allow the browser's native right-click context menu, which includes the browser's native spellchecker: https://www.tiny.cloud/docs/general-configuration-guide/spell-checking/ Maybe you could have a look at their JS code for that? Sorry if this is a totally irrelevant suggestion. |
@geckolinux I think I failed to explain what I wanted to do. The right-click menu seems to work fine for me in the browser (at least in Firefox). What I want to implement is a spell-checker that will check multiple languages at once. Meaning it wouldn't mark any part of I find this much more friendly because I sometimes use multiple languages in one message and even if I didn't the right-click menu is just not very elegant, at least not from my perspective. This also eliminates the need for having per-room spell-check language.
mainWindow.webContents.session.setSpellCheckerLanguages(languages) where |
I made a draft PR. |
The PR is ready |
Nice! Thank you very much! |
Hi there, would it be possible to add an item to the spellcheck context menu to change to a different language? This is important for multilingual users. Bonus points if it remembers the language for each room and/or user. Thanks!
The text was updated successfully, but these errors were encountered: