LibreOffice Language Packs | Niels Horn's Blog

Niels Horn's Blog

Random thoughts, tips & tricks about Slackware-Linux, Lego and Star Wars

LibreOffice Language Packs


So you installed one of the beta versions of LibreOffice and it seems to work fine. But you had running in your local language and can’t get used to “File”, “Tools”, etc. menus and want them back in your own language you got used to after all these years.

Language Packs

The Document Foundation does not offer localized versions like OOo did, instead they offer a single version per operating system / architecture, with a standard US-English interface and (as of the beginning of October) “Language Packs” to localize the user interface, help files, etc.
These Language Packs come in several forms, and for Linux there is a choice between “DEB” and “RPM” packages, both for 32- & 64-bits. The RPM’s actually contain several other RPM’s for the different modules of LibreOffice.

On Slackware

To make everything “manageable” I created a SlackBuild script to transform the RPM Language Pack into a Slackware package that can be easily installed, upgraded or removed with the standard package tools.
This script can be downloaded here and is used as follows:

  • open a shell as root: $ su -
  • untar the tarball with the script: # tar xf libreoffice-langpack.tar.gz
  • go to the directory with the script: # cd libreoffice-langpack
  • download your language pack in this directory, from here (32-bits) or here (64-bits)
  • run the script for your language: # LOLANG=<your_language_code> ./libreoffice-langpack.SlackBuild ([1] [2])
  • install the created package: # installpkg /tmp/libreoffice-langpack-3.3.0_beta2_<your_language_code>* ([1])

Note [1]
Substitute <your_language_code> with the code of the language pack you downloaded, like pt_BR, nl, etc.
Note [2]
This script builds a package for LibreOffice installed in /opt/libreoffice3, like my packages do, as they are repackaged binaries. If you use LibreOffice compiled from source with AlienBob’s SlackBuild, or one of his packages, LibreOffice will be installed in /usr/lib{,64}/libreoffice/ In this case, start the script with a special variable:
# LOLANG=<your_language_code> ALIEN=yes ./libreoffice-langpack.SlackBuild
and the package will be prepared for installation in /usr/lib….

Pre-built packages

There are many language codes and I cannot build packages for all of them, but I selected three I use most: en-GB (”British English”), pt-BR (”Brazilian Portuguese”) and nl (”Dutch”).
These can be downloaded from my site.

Bookmark and Share

This entry was posted on Monday, October 25th, 2010 at 9:09 and is filed under LibreOffice, Slackware. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

3 Responses to “LibreOffice Language Packs”

  1. roberto Says:

    I am happy to use libreoffice in its English manifestation (my first language), but because I frequently write in Italian, I would like to have Italian spellchecking the way I did in OpenOffice–but I can’t figure out how to do that.
    –a Mac user

  2. Niels Horn Says:

    You will need an Italian dictionary, this is not in the language pack.
    I think Googling for “LibreOffice Italian dictionary” should return something useful. You can try OpenOffice as well, as they are compatible.


  3. Peter Fox Says:

    If you are on a un*x machine install “hunspell-it”

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

It may take some time for your comment to appear, it is not necessary to submit it again.