Closed bellegarde-c closed 1 year 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.
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.
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.
Looks like ArchLinux is using a patch for this: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=rocketchat-desktop