0

I'm using the Firefox add-on "Deutsches Wörterbuch 2.0.2" which is based, according to the about-section, on igerman98.

It is full of errors of the form Strasse instead of Straße, Grösse instead of Größe and so on.

I tried to find the dictionary on disk without success

grep "^Stra" /home/stefan/.mozilla/firefox/kv88xfop.default/extensions/de-DE@dictionaries.addons.mozilla.org/dictionaries/de-DE.dic

leads to right form,

grep "^Strasse"  $(locate de-DE)
grep "^Strasse"  $(locate german)

don't yield any results.

More interesting than finding the erroneous data would be a a corrected dictionary, or another solution.

Of course I can add over time the right spelling to the user extension, but this will not remove the wrong one (which are only right for de-CH, where ß isn't used).

Note, that this is not a case of old and new spelling. Straße isn't pronounced like Strapse with a short vocal.

I'm using Firefox 3.6.24 on Xubuntu 10.04 with "Deutsches Wörterbuch 2.0.2" add-on, according to the about-box based on a dictionary called igerman98 from 20091006.

Lekensteyn
  • 178,446
user unknown
  • 6,892

1 Answers1

3

I'm sorry, I have to answer my own question.

I have a second plugin, which tries to autodetect the language of the page, and constantly detects de-CH instead of de-DE. Therefore it uses Swiss german, where Strasse is the correct way to spell the german word for street.

I'm now trying a dirty hack, to prevent those misdetections, by hiding the Swiss, Luxembourg, Lichtenstein, Belgian-DE and Canadian, Australian, South-African -EN dicts.

de-DE, de-AT, en-US and en-GB is all I need.

So I made a directory hide

sudo mkdir /usr/share/hunspell/hide 

and moved the unwanted dictionaries into this subdir, in case I want to restore them (don't think so). Uninstalling wasn't an option, since Belgium and Luxembourg are bundled in the same package as Germany, while the Swiss is bundled with Lichtenstein.

I had to restart Firefox for the change to take effect. Now the list of dictionaries is much smaller, and better usable.

user unknown
  • 6,892