raelgc / scudcloud

ScudCloud - Slack for Linux
https://launchpad.net/~rael-gc/+archive/ubuntu/scudcloud
MIT License
1.22k stars 99 forks source link

Spell check preferences and togglable options #283

Open leagris opened 9 years ago

leagris commented 9 years ago

I'd like to:

raelgc commented 8 years ago

Hi @leagris and sorry for my late response on this.

While all you mentioned will be great to have, there is a masterpiece component in the spell checker wrote in C code: the webkit spell checker plugin, which I borrowed from QupZilla qtwebkit plugins project.

It automatically mark the misspelled words in red, based in which hunspell dictionary you have installed (we have no direct communication between ScudCloud and this plugin).

ScudCloud is working, in this case, suggesting the words in the context-menu and replacing them when user click on any.

So, basically, I need help in the C plugin code to finish this.

aruetten commented 8 years ago

What I did to switch language was editing ~/.local/share/applications/scudcloud.desktop

There is a line for the Exec, mine looks like:

Exec=env LANG=en_GB.UTF-8 /usr/bin/scudcloud

raelgc commented 8 years ago

Thanks for sharing this, @aruetten!

Additionally, if you're using any Debian based distro, remember to use dpk-divert to keep your changes between updates!

leagris commented 8 years ago

Thank you for sharing. I think language switching should be user selectable and saved preference, at least per team and or per channel while interface can keep using system locale.