I'm going to use an example using Brazilian Portuguese spell check language. 🤗
In your terminal
First download the required spell check language package...
wget http://ifsc2.ifsc.usp.br/utilitarios/WPS-Office/Dicionario%20pt_BR/pt_BR.zip
NOTE: Many sources state that the language packs are all here, but this link does not work (in 2023/09/07). You can try downloading from here too.
Unzip the file to the "spellcheck" folder...
sudo unzip pt_BR.zip -d "/usr/lib/office6/dicts/spellcheck/"
IMPORTANT: The path to the "spellcheck" folder may vary according to the installation method and according to the distribution in use (if not Ubuntu, for example). Then, to find the path use the command sudo find / -iname "spellcheck" -type d
.
...and give proper permissions...
sudo chmod -R 755 "/usr/lib/office6/dicts/spellcheck"
.
In your WPS Writer
Follow "Review" > "Spell Check" > "Set language(C)..."...
..., select "Portuguese (Brazil)" and click "Set Default" button.
Thanks! 😎
[Ref(s).: https://mateusmuller.me/2017/12/05/alterar-idioma-e-corretor-ortografico-do-wps-office-para-pt-br/ ]