How to install a LibreOffice Language Tools (Spelling Check, Thesaurus...)
This is apparently managed at the system level. Go to the Language Support menu in the System Settings menu and add the languages you want to support. After that restart LibreOffice and you will see that the spellchecker for example will give you the option of using the newly installed languages.
Ok I was into old school way of looking for the language support packages. This saves me a lot of hazzle. Thanks.
Worked for me, but is it possible from the command line? Other command line solutions proposed failed for me.
@cirosantilli, did you try the other "command-line" answers below?, for example: `sudo apt-get install myspell-es` or `aspell-es` or `hunspell-es`
does not work that way for most languages in Ubuntu 14.04 with LO 4.2
Comment from Andre Blecha: a note of caution: the system will download language dependent files such a help and documentation for ALL your applications installed. This may be disc-space and time consuming.
it still doesn't work on `Tools` -> `Language` -> `For all Text`. I just see there two languages and not the languages I installed. The majority of SW is designed for English or American people, and they speak only English, and rarely speak another language besides English. An american developer cannot imagine that a person (like me) may speak and write in six languages: Portuguese that writes mostly in English and lives in the Netherlands.
@JoãoPimentelFerreira that is not true, Linux distros are very considerate to support multiple languages simultaneously. My solution worked last time I checked.
@alfC try to install three languages in Ubuntu as stated here, and then go to LibreOffice on `Tools` -> `Language` -> `For all Text`
@JoãoPimentelFerreira I did install three dictionaries, English, Spanish and French and `Tools -> Language -> For XX` shows me three options. I am using LibreOffice 188.8.131.52. Perhaps your current version has a bug? I also installed the dictionary via `hunspell-en`, `hunspell-es`, `hunspell-fr`.
@alfC What do you mean by "I did install three dictionaries"? Did you install them on `System Settings` -> `Language` like you suggest in this post? Or did you use another method directly in Libreoffice? My version is 184.108.40.206
ok, now I get, one must go to `Tools` -> `Language` -> `For all Text` -> `More` to get the other languages. Thank you `:)`
@JoãoPimentelFerreira I see them without clicking More... It took restarting LO a few times to work.
It seems that to be able to select the document language (tools->language->for all text->givenLang) I had to reboot my computer (linux debian), maybe restarting only the display manager would have been enough
Where is the "System Settings" menu? That doesn't seem to exist in Writer for LibreOffice 5.3.
sudo apt-get install aspell-<language pack>will do the trick
For example, the spanish dictionary is:
sudo apt-get install aspell-es
That's specifically for the spell-checker though, right? That doesn't actually give you the thesaurus or other features in the language, does it?
recently I had a similar problem with Evolution email, in that case the solution was to do a similar thing but with hunspell instead, `sudo apt-get install hunspell-es`
Installing `aspell` dictionaries didn't work for me (Kubuntu 16.04, LibreOffice 220.127.116.11), but installing `myspell` did the job.
If you can't install system packages, you can install a spell checking dictionary extension manually. You'll need to restart LibreOffice.
US English Dictionary available here: extensions.libreoffice.org.
Instructions for installing extensions:
- Download an extension and save it anywhere on your computer.
- In LibreOffice, select Tools → Extension Manager from the menu bar.
- In the Extension Manager dialog (Figure 2), click Add.
- A file browser window opens. In Add Extension(s) dialog, you can find the extension's files in your system folders. The extension's files have OXT file extension.
- Find and select the extension you want to install and click Open.
- If this extension it is already installed, you'll be prompted to press OK to confirm whether to overwrite the current version by the new one, or press Cancel to stop the installation.
- After, you are asked whether to install the extension only for your user or for all users.
- If you choose Only for me option, the extension is installed only for your user (the extension will be stored in your user profile and other users will not have access to it).
- If you choose For all users, you must have system administrator rights. In this case, the extension is installed in LibreOffice system folder and will be available for all users.
- In general, choose Only to me, that doesn't require administration rights on the operating system.
- After, you may be asked to accept a license agreement.
- Use Scroll Down button to read the license agreement. At the end of license text, the Accept button will be enabled.
- Click Accept to proceed the installation.
- When the installation is complete, the extension is listed in the Extension Manager dialog.
Instructions stolen from libreoffice.org
worked like a charm. the only thing that i had to do was to add the oxt extension to the file because the extension manager not seeing the extension file. sorry for the bad english.
To install Spanish spellchecker on Libre-Office, You need the next package:
sudo apt-get install myspell-es
+1. For me `aspell-nl` was **not** working, but `myspell-nl` **was** working
For German, unlike expected from the above example, the package name is `myspell-de-de`.
There is also a very popular extension supporting up to 20 languages which may also detect not only typos but some grammar mistakes and "false-friends". The extension is called LanguageTool.
Best answer in my opinion. LO specific, many languages included (as originally asked), updated extension, not system-wide, doesn't require root, not an "apt-get install" guessing game.
sudo apt-get --install-suggests install libreoffice-l10n-fr
This will install:
hunspell hunspell-fr-comprehensive hyphen-fr libreoffice-help-fr libreoffice-l10n-fr mythes-fr
It was supposed to install
libreoffice-grammarcheck-frbut for some reason the package is not available on my install of linuxmint
Still working as of Ubuntu 18.04. To see available language packs, type `sudo apt-get --install-suggests install libreoffice-l10n-` and press the "Tab" key to see autocomplete suggestions.
Only hunspell is needed
If only an additional spell check dictionary is needed, without files for an additional user interface (UI) language, then open a command line terminal and type:
sudo apt install hunspell-xx
xxis the ISO 639-1 two-letter language code.
On some occasions, the language code needs to be supplemented with either a ISO 3166-1 alpha-2 country code as in
hunspell-de-chor a three or more letter abbreviation for specialist dictionaries as in
hunspell-en-medfor English medical terms.
hunspelldictionaries are listed using the command:
apt search hunspell
Restart LibreOffice to make any new dictionary available for spell checking.