Description of problem:
Fedora's Flatpaks (contrary to Flathub's Flatpaks) only support spell check in en-US.
I suspect this is due to the Fedora runtime only containing hunspell-us-en:
This bug might be the same as https://bugzilla.redhat.com/show_bug.cgi?id=1762826
This was quite problematic for me as a new user of Fedora, as I had not realized there could be such difference between Fedora and Flathub Flatpack.
Version-Release number of selected component (if applicable): Fedora silverblue 36
How reproducible: 100%
Steps to Reproduce:
1. Install Fedora Siverlight
2. Install with "Software" Geary (or Evolution, or any other Fedora Flatpak that uses hunspell).
3. Try to choose a language for spellcheck
Only en-US can be selected.
Confirmed by running
$ flatpak enter org.gnome.Geary hunspell -D
Any languages can be selected for spell check. As is the case when installing from Flathub.
My current workaround is to install Flathub's Flatpacks instead of Fedora's ones, but I would prefer using Fedora's ones.
When installing the Flathub version of Geary, all of my languages (en,fr,de) are present.
It definitely seems like Gnome packs all Hunspell dictionaries in their runtime contrary to Fedora:
$ flatpak run org.fedoraproject.Platform/x86_64/f36 -c 'hunspell -D'
$ flatpak run org.gnome.Platform/x86_64/41 -c 'hunspell -D'
I think Fedora should allow Gnome and package all of Hunspell dictionaries in its runtime.
A (better?) fix could also be to install the Hunspell Dictionaries in the local runtimes, to minimize disk size.
This should be fixed in https://src.fedoraproject.org/flatpaks/flatpak-runtime/c/a620aa46a8f83b8ed504ecda7b2478580198f340?branch=f37
FEDORA-FLATPAK-2023-e69c75a57e has been submitted as an update to Fedora 37 Flatpaks. https://bodhi.fedoraproject.org/updates/FEDORA-FLATPAK-2023-e69c75a57e
FEDORA-FLATPAK-2023-e69c75a57e has been pushed to the Fedora 37 Flatpaks testing repository.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-FLATPAK-2023-e69c75a57e
See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-FLATPAK-2023-e69c75a57e has been pushed to the Fedora 37 Flatpaks stable repository.
If problem still persists, please make note of it in this bug report.