Description: This enhancement feature is similar to https://bugs.documentfoundation.org/show_bug.cgi?id=53517. The Cros project (https://www.sardegnacultura.it/cds/cros-lsc/), a spellchecker for Sardinian (sc_IT), provides an oxt extension for LibreOffice. The oxt package contains a .dic file and an .aff file. Would it be possible to add it to LibreOffice, so that users do not need to install it separately as an extension? This would, in turn, ease adoption by other programs. Actual Results: By default, Sardinian is not included among the language dictionaries in LibreOffice. Expected Results: Providing Sardinian dictionaries by default. Reproducible: Always User Profile Reset: No Additional Info: Resorting to the Cros project (https://www.sardegnacultura.it/cds/cros-lsc/).
If someone could give a hint on what steps should be taken in order to have this done, we would do our best to contribute and speed up the process.
Hello Adrià, here you have an example on how to add a dictionary to the codebase: https://cgit.freedesktop.org/libreoffice/core/commit/?id=919be04e2c50ba62317c0b759b73923e37f5d542
Hi, see also this page for information and completion https://wiki.documentfoundation.org/Development/Dictionaries
(In reply to Xisco Faulí from comment #2) > here you have an example on how to add a dictionary to the codebase: > https://cgit.freedesktop.org/libreoffice/core/commit/ > ?id=919be04e2c50ba62317c0b759b73923e37f5d542 The commit above deals with the core part needed to bundle that dictionary with LibreOffice, and to test if it works, you'd need to build the LO codebase. If you'd like to avoid that, we can do that part (it only has to be done once per language). The main part is adding the dictionary files themselves to the dictionaries repository, as mentioned on the wiki link given by Sophie. For this, only the dictionaries repository is needed (though you won't be able to test it separately). If you could submit a patch to gerrit, that'd be great. If you have further questions, don't hesitate to ask. As a sample, here's the dictionaries patch corresponding to the above core change: https://cgit.freedesktop.org/libreoffice/dictionaries/commit/?id=a79cdcb292c8095049f2834a1f0c5cbffe9097fe
Today you were asking in the chat for help and managed to advance. Your last message was about git status and getting this message: En la branca master La vostra branca està al dia amb «origin/master». Canvis no «staged» per a cometre: (useu "git add <fitxer>..." per a actualitzar què es cometrà ) (use "git restore <file>..." to discard changes in working directory) (cometeu o descarteu el contingut modificat o no seguit en els submòduls) modificat: dictionaries (contingut modificat, contingut no seguit) no hi ha canvis afegits a cometre (useu "git add" o "git commit -a") To me it seems normal. Change directory into dictionaries and see the status there, git add the file, git commit etc.
Thank you very much. Hopefully I managed to complete the process.
Patch: https://gerrit.libreoffice.org/c/dictionaries/+/104122