giuspen / cherrytree

cherrytree
https://www.giuspen.net/cherrytree/
Other
3.29k stars 457 forks source link

CT is not using system-wide language for spell check (English, United States) #2488

Closed firepainting closed 2 months ago

firepainting commented 2 months ago

Version, Operative system CherryTree 1.1.2 Linux Mint 21.3 Cinnamon

Describe the bug (Same as title)

Details

Linux Mint system: language

english_us

I just removed the rest of the installed languages, around 22 of them.

Just to be sure, Enchant 2.3.2 has been installed.

(2 screenshots below) synaptic synaptic_2

CherryTree's Language: System Default

system_default

To Reproduce

On CherryTree:

  1. Enable Spell Check (Shift+Alt+S)
  2. Type US and UK English words
  3. US English is marked while UK English is not--except for a few, surprisingly.

Structure below is: [US word] [UK word]

(First screenshot) sample_1

(Second screenshot) sample_2

(Tag/s: dictionary)

Many thanks!

giuspen commented 2 months ago

The language to use in the spell check is selectable in the preferences dialog, tab rich text if I remember correctly, it's a different setting than the interface language. I will double check that the default for the spell check tries to match the interface language, that may indeed be missing

firepainting commented 2 months ago

Well that was...absolutely embarrassing. How to read the manual 101 and spell check vs interface. Got it! 😂️

It's working as expected now. All UK words on the right side are marked.

preferences dialog, tab rich text if I remember correctly

Yeah that's it.

Many thanks man 😩️

firepainting commented 2 months ago

@giuspen CherryTree flags hyphenated compound words. Is it possible to change or correct this? hyphen_CT

For comparison, LibreOffice Writer doesn't flag them unless of course they're misspelled. hyphen_LO