no en_GB thesaurus for libreoffice

Bug #950949 reported by dougfractal on 2012-03-09
This bug affects 2 people
Affects Status Importance Assigned to Milestone
LibreOffice Productivity Suite
Won't Fix
Medium (Ubuntu)

Bug Description

The US and GB thesaurus are combined, but there is no sym link in mythes, so the en_GB thesaurus is greyed out (no ctrl-F7)

the fix is :-

cd /usr/share/mythes
sudo ln -s th_en_US_v2.dat th_en_GB_v2.dat
sudo ln -s th_en_US_v2.idx th_en_GB_v2.idx

lsb_release -rd
Description: Ubuntu precise (development branch)
Release: 12.04

apt-cache policy mythes-en-us
  Installed: 1:3.3.0-2ubuntu3
  Candidate: 1:3.3.0-2ubuntu3
  Version table:
*** 1:3.3.0-2ubuntu3 0
        500 precise/main i386 Packages
        100 /var/lib/dpkg/status

Problem description:

Steps to reproduce:
0. install
1. format a English word in English(UK)
2. start thesaurus
3. non dialog appear

Current behavior:
no dialog appear

Expected behavior:
you should get the thesaurus - You can format words in English(USA) and it works
A regression of

Platform (if different from the browser):
ubuntu 11.10

Browser: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0


sorry, I truncated my original questions.

a) Is this with the .debs downloaded from or with the distro-provided packages ?
b) did you actually install an additional "" extension or package from somewhere or other ?

What's supposed to happen "out of the box" with the .rpms/.debs provided from the download site is that you have a functional thesaurus in English UK when bundled libreoffice-3.5-en-US-3.5.2-202 package is installed, i.e. that you have "English spell dictionaries....thesaurus" listed in tools->"extension manager"

(works here with "vanilla" 3.5.2 rpms)

Created attachment 59731
options -> language settings -(UK)

English dictionary shows no thesaurus present

Created attachment 59732
options -> language settings -(Usa)

USA dictionary WITH thesaurus

thanks for your interest.
I'm using LO from the PPA under ubuntu oneric (version 3.5.1 comes only from ppa until versione 12.04 of ubuntu)

the installed comes from the system repository

What is supposed to happen, is that having English UK would give the thesaurus as in the English USA.
But as you can see from the two screenshot , selecting UK version shows no thesaurus present in the language.

Its not clear to me (not using Ubuntu) what the configuration of that PPA is, e.g. if...

a) there are multiple packages and the thesaurus extension is in an un-installed package
b) its configured to use system thesaurus files and the en-US one isn't e.g. symlinked to the en-GB one like Fedora does

Do you have "English spell dictionaries....thesaurus" listed in tools->"extension
manager" ?, Seeing as you've got working English spell-checking, if you don't have any English LibreOffice extensions installed then it might be "b"

I *think* this is an artifact of how that PPA is configured, i.e. its designed to use the system provided thesaurus data and spell-checking files etc to avoid effectively duplicating them (like the "vanilla" packages do by bundling a dict-en extension) and you've been tripped up by

FWIW Debian considers linking between en-US and en-GB dirty as those are indeed different.

FWIW, the vanilla dict-en extension does the moral equivalent of linking the en-GB to the en-US thesaurus (I think I might have done that) and Fedora (*cough* same person again) links them physically. A separate thesaurus might be a good thing, on the other hand the thesaurus is 18 megs :-)

Discussed with Debian. Using the US thesaurus for GB is not really an option, as it might suggest words with the wrong (US) spelling. The clean solution would be to have a separate en-GB thesaurus. Please open a new bug for this, as it is a different issue. Closing this one as wontfix.

Changed in (Ubuntu):
status: New → Won't Fix
Changed in df-libreoffice:
importance: Unknown → Medium
status: Unknown → Won't Fix
dougfractal (dougs-b) wrote :

Well I downloaded the Libreoffice GB langauge files and opened the package and made my way to the thesaurus folder.
One issue is that the GB data files are called th_en_US_v2.dat and th_en_US_v2.idx and they are exactly the same size as the same named files in the mythes-en-us package.

colour (adj) color all seems fine but on using the diff command I found that the true USA version is missing a lot of the British swear words. [*lol*]

So although the dirty fix is the symlink approach as the earlier report.
the correct fix is to remove the Virtual package mythes-en-gb which links to the mythes-en-us, but fails to provide a GB thesaurus, and provide a working package.

So the fix i suggest is to :-
copy the th_en_US_v2.* files from the LibO_3.4.6_Linux_x86_langpack-deb_en-GB.tar.gz package. and rename them th_en_GB_v2.* and place them into the /usr/share/mythes/ folder.

Ideally this could be a provided by a deb package named mythes-en-gb

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.