baedert / corebird

Native Gtk+ Twitter Client
https://corebird.baedert.org
GNU General Public License v3.0
792 stars 78 forks source link

Allow user to change spell checking language of new tweets #812

Closed medeotl closed 6 years ago

medeotl commented 6 years ago

At the moment Corebird spell check only in one language (the system one I guess), but many of us tweet in different languages. Please enable us to select in some way the language of the tweet (and set the correct spell check for it)

wimpunk commented 6 years ago

I would like this option to...

ostaszewskik commented 6 years ago

I have a flatpak version. From what I found there is a file located in ~/.var/app/org.baedert.corebird/config/enchant/en_US.dic that contains all manually added words.What I did was to substitute my .dic file with en_US (which is my OS locale) and thus I have both English (provided by OS) and my native language suggestions. @medeotl @wimpunk @baedert

Vistaus commented 6 years ago

@mDfRg What do you want to change, the list of manually added words?

ostaszewskik commented 6 years ago

No I want to change the spellcheck to my native language which is different from host OS.

Best case scenario, I'd like to have an option to switch between different languages.

Vistaus commented 6 years ago

@mDfRg In that case you have to ditch the Flatpak version and compile Corebird from git as it's only available here on git right now until a new Corebird version is released: https://github.com/baedert/corebird/commit/87bc8519968ed8f4ab044afaa09d9f9cefd7f6ea

Then you can just right-click in the Compose Tweet screen and change the language (you do need to have the dictionary of your language installed though - check your package manager - in my case it's hunspell-en and hunspell-nl).

ostaszewskik commented 6 years ago

87bc851 is precisely what I'm looking for. Unfortunately, from what I understand it's not possible for me to compile as I use Ubuntu 16.04 which has old 3.18 GTK version. When will it be released?

Vistaus commented 6 years ago

@mDfRg The GTK requirement has been bumped so a new version of Corebird will most likely also require something newer than GTK 3.18. As for when it will be released: only @baedert can tell you that :)

ostaszewskik commented 6 years ago

It already requires >3.20, so no heaven for me :). I'm gonna stick with my hack for time being, just wanted to share my workaround.

medeotl commented 6 years ago

I think the patch will be released with the new version, and since you use the flatpak version you will receive it as soon as it will be released. When the new version will be released is up to @baedert