flathub / chat.rocket.RocketChat

https://flathub.org/apps/details/chat.rocket.RocketChat
3 stars 9 forks source link

Missing spell correction #36

Closed bellegarde-c closed 1 year ago

bellegarde-c commented 4 years ago

Looks like ArchLinux is using a patch for this: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=rocketchat-desktop

andrevmatos commented 4 years ago

This is not about a patch. Flatpak apps usually don't have access to system's folders or resources, and need to bundle its own files and libraries. RocketChat includes a collection of dictionaries, which should be available, but giving it access to system's may not be feasible, but I'll check.

bellegarde-c commented 4 years ago

You need to copy LibreOffice dictionnaries:

cd /srv/opt/Rocket.Chat/resources/dictionaries/
[gnumdk@arch dictionaries]$ l
de_DE.aff  en_GB.aff  en_US.aff  es_ES.aff  fr_FR.aff  pt_BR.aff
de_DE.dic  en_GB.dic  en_US.dic  es_ES.dic  fr_FR.dic  pt_BR.dic

FR added on a Fedora 32 with official rocket chat package.

andrevmatos commented 1 year ago

I can see a few tens of languages on current build, all distributed by the upstream package, and should be enough for anyone running this.