Skip to content

Configure languages used for spell checking #771

@st3iny

Description

How to use GitHub

  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Is your feature request related to a problem? Please describe.
Currently, the spell checker defaults to the system's language on Linux. In my case this is German. However, I mostly communicate in English on Talk and the spell checker constantly shows the red underline below each word because it doesn't understand English.

image

Describe the solution you'd like
Let users configure languages used for spell checking.

Describe alternatives you've considered
Change my system's language. This won't fix the issue as I'm communication both in German and English regularly in Talk.

Additional context
Here is a hack I'm currently using that works:

diff --git a/src/talk/talk.window.js b/src/talk/talk.window.js
index 6d69246..680847b 100644
--- a/src/talk/talk.window.js
+++ b/src/talk/talk.window.js
@@ -67,6 +67,9 @@ function createTalkWindow() {
        applyWheelZoom(window)
        setupTray(window)

+       // Configure the spell checker to use English (US) and German
+       window.webContents.session.setSpellCheckerLanguages(['en-US', 'de'])
+
        window.loadURL(TALK_WINDOW_WEBPACK_ENTRY)

        return window

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

  • Status

    🏗️ In progress

Relationships

None yet

Development

No branches or pull requests

Issue actions