Skip to content
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

Choose language for spell checker #231

Closed
fried-eggz opened this issue Jun 8, 2022 · 7 comments
Closed

Choose language for spell checker #231

fried-eggz opened this issue Jun 8, 2022 · 7 comments
Labels
wontfix This will not be worked on

Comments

@fried-eggz
Copy link

Allow the user to set the language for the spell checker. It now only supports English

@cabildocl
Copy link

Hi, you can change the language in Preference ($HOME/snap/prospect-mail/current/.config/Prospect\ Mail/Preferences).
Example for use spanish:

{"spellcheck":{"dictionaries":["es"],"dictionary":""}}

@fried-eggz
Copy link
Author

Hi, you can change the language in Preference ($HOME/snap/prospect-mail/current/.config/Prospect\ Mail/Preferences). Example for use spanish:

{"spellcheck":{"dictionaries":["es"],"dictionary":""}}

Thanks. However, Prospect Mail does not seem to be installed in my $HOME/snap/ directory...

@fried-eggz
Copy link
Author

Ok. Found the directory. But where to find dictionary for other languages?

In $HOME/snap/prospect-mail/current/.config/Prospect\ Mail/Dictionaries/ there is only one file:

en-US-9-0.bdic

I updated my preference file to look like this, does it look correct?

{"electron":{"media":{"device_id_salt":"3D8B24E94FC20067C15D1D3B479687C9"}},"spellcheck":{"dictionaries":["en-US", "sv-SE"],"dictionary":""}}

@fried-eggz
Copy link
Author

fried-eggz commented Mar 9, 2023

I've managed to partially solve the issue using the following steps:

  1. Locate your Prospect Mail preferense folder:
    Rightclick the Prospect Mail icon in your taskbar and click "Settings -> Show settings file". In the foler "Pprospect Mail" you should finde a file called "Preferences"

  2. Edit the file "Preferences" and add you locale
    Mine was Swedish so sv-SE
    {"electron":{"media":{"device_id_salt":"3D8B24E94FC20067C15D1D3B479687C9"}},"spellcheck":{"dictionaries":["en-US", "sv-SE"],"dictionary":""}}

  3. Go to the folder Dictionaries

  4. Copy your dictionary file to this folder
    You can get your language specific file by installing your langugae in Chrome/Chromium and copy it from ~/snap/chromium/common/chromium/Dictionaries or ~/.config/google-chrome/Dictionaries

  5. Restart Prospect Mail

@fried-eggz
Copy link
Author

Caveat: Still doesn't allow for Right-Click -> Correct spelling

@fried-eggz
Copy link
Author

Any Idea on when we can get right click -> correct spelling in different languages?

@julian-alarcon julian-alarcon added the wontfix This will not be worked on label Sep 19, 2023
@julian-alarcon
Copy link
Owner

New version uses MS Editor spellchecker, languages are managed by your settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants