I’m trying to use local spell checking in a flatpak text editor (Apostrophe), it currently only lists English variants:
Now using multiple languages in Gnome itself is already a bit cumbersome, since there is no interface for it in the system settings. Some Googling tells me that enchant-2
is responsible for the languages, which in turn may use one or more backends for localization. On a default installation that apparently is hunspell
:
$ enchant-lsmod-2
hunspell (Hunspell Provider)
which in turn has a number of language packs, that are installable via dnf. I added my local language (NL) there:
$ rpm -qa | grep hunspell-nl
hunspell-nl-2.20.19-12.fc40.noarch
$ hunspell -D
/usr/share/hunspell/en_US
/usr/share/hunspell/nl_AW
/usr/share/hunspell/nl_BE
/usr/share/hunspell/nl_NL
LOADED DICTIONARY:
/usr/share/hunspell/en_US.aff
/usr/share/hunspell/en_US.dic
This has no effect on the languages displayed in Apostrophe. I then saw this suggestion buried somewhere in their wiki, it’s from 4 years ago:
Now i’m getting a bit confused. So before i start installing random additional flatpaks based on old suggestions, i thought i would ask here first how this stuff is supposed to work normally.
Much appreciate your advice, thanks in advance
[edit] querying flatpak config gives back this about the languages:
$ flatpak config
languages: *unset* (default: en;nl)
extra-languages: *unset*