Skip to content

Tekl/openthesaurus-deutsch

Repository files navigation

🇩🇪 Deutsche Liesmich-Datei

OpenThesaurus Deutsch Dictionary Plugin

Version: 2023.12.28-Legacy - OS X 10.11 to macOS 14
Copyright © 2023 Wolfgang Kreutz and Daniel Naber

Screenshot

This plugin extends Apple’s Dictionary Application with a German thesaurus.

The content of this plugin is based on the online thesaurus www.openthesaurus.de by Daniel Naber.

The Python script to convert the OpenThesaurus dictionary into a dictionary plugin was developed by Wolfgang Kreutz.

Updates and further information: www.tekl.de
Support and source code: github.com/Tekl/openthesaurus-deutsch
Changelog: CHANGELOG.md
Donation: PayPal

Download

Installation

Using the installer

  1. Download the plugin installer: OpenThesaurus_Deutsch.dmg
  2. Double-click on “OpenThesaurus Deutsch Installation” to start the installer.
  3. Follow its instructions. To install the plugin for the current user and not for all users, click on “Change Install Location …” in the installer and select “Install for me only”.

Install with Homebrew

If you use the package manager Homebrew, you can start the installation with this terminal command:

brew install tekl/dictionaries/openthesaurus-deutsch.

The plugin will always be installed in ~/Library/Dictionaries.

The command brew upgrade can be used to automatically install updates to the plugin.

Manual Installation

  1. Download the zipped dictionary plugin bundle: OpenThesaurus_Deutsch.dictionaryfile.zip
  2. Launch the application “Dictionary.app” und execute the command “Open dictionary folder” from the File menu.
    Step 1
  3. The Finder will open a window with the folder “Dictionaries”. Drag and drop the unzipped plugin bundle into that Finder window.
    Step 2
  4. Quit and restart the application “Dictionary.app”, so it will detect the newly installed plugin. Open the Preferences of “Dictionary.app” (⌘+Comma), scroll to the entry “OpenThesaurus Deutsch” and click the checkbox.
    Step 3

Uninstalling

To remove the plugin form your system, just launch the installer again and select the option “🚫 Uninstall”.

You can manually delete the plugin from the folder /Library/Dictionaries or ~/Library/Dictionaries and restart the “Dictionary.app”.

If you have installed the plugin via Homebrew, you can get rid of it with the following command:

brew uninstall optenthesaurus-deutsch

Build the dictionary by yourself using the source code

Requirements

  • XcodeDictionary Development Kit as part of Additional Tools (free Developer Account necessary)
  • The DDK must be installed at the following Paths:
    • /Developer/Auxiliary Tools/Dictionary Development Kit
    • /Developer/Utilities/Dictionary Development Kit
    • /Applications/Auxiliary Tools/Dictionary Development Kit
    • /Applications/Additional Tools/Utilities/Dictionary Development Kit
    • /DevTools/Utilities/Dictionary Development Kit
    • /Applications/Utilities/Dictionary Development Kit
  • Install the Xcode Command Line Tools with:  xcode-select --install
  • Optional: To generate the Installer, you have to install the free tool PackagesOptional: To generate the Disk Image, you need DMG Canvas (20 US-$).

Start building with Terminal

  • open Terminal.app
  • Use cd to go into the folder openthesaurus-deutsch-master.
  • Start building with `make. This will download the current word list from openthesaurus.de, converts it to XML, and uses the DDK to build the Dictionary plugin. The version number is generated by using the current date with the suffix -beta.
  • The conversion can take more than one hour, depending on your Mac.
  • If the Terminal returns to the prompt, you can install the plugin with sudo make install. This is also necessary when you want to create the Installer. It expects the plugin at /Library/Dictionaries.
  • After installation, the Dictionary App will be opened automatically, so you can activate and test it.
  • The make command accepts the following additional targets:
    • make releasebuilds the plugin without the suffix “-beta” in the version number.
    • make dmgcreates an Installer from the already installed Beta-plugin and generates a Disk Image (note the requirements). The Makefile uses my developer certificate, which you have to replace in the line with packagesbuild. The finished Disk Images is put into the folder releases.
    • make releasedmgcreates an Installer from the installed plugin without the beta-suffix and generates a Disk Image (note the requirements). The Makefile uses my developer certificate, which you have to replace in the line with packagesbuild. The finished Disk Images is put into the folder releases.
    • make notarizesends the Disk Image from the current date folder inside releasesto Apple for notarization. Here you also have to edit the Makefile and enter your developer account at xcrun altoolbehind --username. The password is fetched from the Keychain entry AC_PASSWORD.
    • make nhistoryshows the notarization status. In most cases, it's better to wait for the confirmation Mail from Apple. 
    • After successful notarization, make nstapleapplies the ticket to the Disk Image. Correctly notarized, it's ready for publishing.

Licenses

  • The content from the OpenThesaurus plugin is licensed under CC-GNU LGPL

  • This plugin and the build scripts are licensed under GPLv3

    This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

    You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.