Skip to content
A Ruby translator using the dict files from http://www.dict.cc/ including an Emacs mode
Emacs Lisp Ruby
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
COPYING Initial import after the switch to Git. Aug 16, 2007
README.md added readme Mar 15, 2012
rdictcc.el Fix umlaut issue and better handling of compact mode in emacs iface. Apr 15, 2010
rdictcc.rb Fix Ruby 2.6 incompatibility (fixes bug#3) Feb 27, 2019

README.md

RDictCc

RDictCc is a simple translation tool written in Ruby that creates a local database out of the dictionary files from dict.cc.

Usage

Simply place the file rdictcc.rb somewhere in your PATH. Executing rdictcc.rb --help will show you all that's needed.

To make use of the Emacs mode, add this to your ~/.emacs.

;; Adapt path as you need
(add-to-list 'load-path "~/path/to/rdictcc")
(setq rdictcc-program "~/path/to/rdictcc/rdictcc.rb")

(require 'rdictcc)
;; Adapt to your likings
(global-set-key (kbd "C-c t") 'rdictcc-translate-word-at-point)
(global-set-key (kbd "C-c T") 'rdictcc-translate-word)

Have fun!

License

Copyright (C) 2012 Tassilo Horn tassilo@member.fsf.org

Distributed under the General Public License, Version 3.

You can’t perform that action at this time.