Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A feature-rich dictionary lookup program, supporting multiple dictionary formats (StarDict/Babylon/Lingvo/Dictd) and online dictionaries, featuring perfect article rendering with the complete markup, illustrations and other content retained, and allowing you to type in words without any accents or correct case.
C++ C HTML CSS NSIS Objective-C++ Other
Failed to load latest commit information.
MSBuild Properly handle the version.txt in Visual Studio's build
flags fix for blg dict
generators Change email from @users.berlios.de to @goldendict.org.
help Slob: Support handling of TeX format formulas via mimetex.cgi
icons Add SLOB dictionaries support
locale Update French translation
maclibs Add support for Epwing dictionaries
mouseover_win32 Win-specific: ScanPopup: Don't use unsupported word retrieving method…
nsis Win-specific: Fix typo in NSIS script
qtsingleapplication Updated to the latest qtsingleapplication, as part of fix for #212.
redist better icon path
winlibs Win-specific: Modified eb library to handle Epwing dictionary path in…
.gitignore Some tuning for MinGW 4.8 build
.gitmodules Use proper read-only URL for winlibs submodule to avoid clone problems
CREDITS.txt Update Vietnamese translation for GoldenDict 1.5
GoldenDict.exe.manifest Win-Specific: Embed appropriate manifest.
LICENSE.txt Update year in copyright notices.
README.md README.md: libeb-dev --> libeb16-dev
aard.cc DSL: Exclude tags [s], [url], [video], [preview] from indexing for fu…
aard.hh Add support for Aard dictionaries (aar-html)
about.cc Show clang compiler version in "About" window
about.hh Fix compilation failures with Visual C++ 2012 (issue #375)
about.ui Fixed #183: Provide a higher resolution main GoldenDict icon
article-style-print.css Drop the src/ directory. It's superfluous.
article-style-st-babylon.css Adjusted Babylon style's Expand/Collapse buttons
article-style-st-lingoes-blue.css Fix article header in "Modern" and "Lingoes-Blue" styles for very lon…
article-style-st-lingoes.css Adjust fonts for some styles: Modern, Lingoes, Lingoes-Blue
article-style-st-lingvo.css DSL: Add default color (black) for [com] tag in Lingvo style, fix col…
article-style-st-modern.css Fix article header in "Modern" and "Lingoes-Blue" styles for very lon…
article-style.css Slob: Support handling of TeX format formulas via mimetex.cgi
article_maker.cc Refactor of expressions search via morphology suggestion
article_maker.hh Full-text search: Highlight of the search results
article_netmgr.cc Zim: Fix new format links handling
article_netmgr.hh Fix some warnings
articleinspector.cc Fix compilation errors on Qt 4.5
articleinspector.hh Fix compilation errors on Qt 4.5
articleview.cc Mac-specific: Adjust code for Qt5 build
articleview.hh Full-text search: Set group for ArticleView::showDefinition() when vi…
articleview.ui A little tuning of interface
articlewebview.cc Win-specific: Avoid wrong mouse wheel handling in QWebView if system …
articlewebview.hh Add "Inspect" action to context menu
atomic_rename.cc Update year in copyright notices.
atomic_rename.hh Update year in copyright notices.
audiolink.cc Fix regression from d5c236f: should take first audio link from each a…
audiolink.hh Update year in copyright notices.
authentication.ui Add proxy authentication dialog
belarusiantranslit.cc Add belarusian transliteration
belarusiantranslit.hh Add belarusian transliteration
bgl.cc more accurate hebrew character translation
bgl.hh Update year in copyright notices.
bgl_babylon.cc Mac-specific: Adjust code for Qt5 build
bgl_babylon.hh Some more encoding in BGL (issue #53, goldendict.org/forum/viewtopic.…
broken_xrecord.cc Update year in copyright notices.
broken_xrecord.hh Update year in copyright notices.
btreeidx.cc Log warning for too long headwords while indexing
btreeidx.hh DSL: Exclude tags [s], [url], [video], [preview] from indexing for fu…
chunkedstorage.cc Fix compilation failures with Visual C++ 2012 (issue #375)
chunkedstorage.hh Fixed build under Linux
config.cc Wiki's: Change default russian Wiki's url
config.hh Allow to choose help language
configure Add a mock ./configure script which tells one to run qmake && make.
country.cc Update year in copyright notices.
country.hh Support for Forvo online pronunciations added.
decompress.cc Add SLOB dictionaries support
decompress.hh Add SLOB dictionaries support
delegate.cc Some more RTL support for wordlist and history list (issue #384)
delegate.hh Refactor work with RTL languages in word search list and history list
dictdfiles.cc DictD: One more fix for dictionary description
dictdfiles.hh Update year in copyright notices.
dictgroupwidget.ui Add an icon before the "Shortcut" label in the group configuration.
dictheadwords.cc Show headwords from dictionaries setup dialog in modal mode
dictheadwords.hh Show headwords from dictionaries setup dialog in modal mode
dictheadwords.ui Add help buttons to dialogs
dictinfo.cc Show dictionary icon in the dictionary information and dictionary hea…
dictinfo.hh Show all headwords for selected dictionary
dictinfo.ui Show all headwords for selected dictionary
dictionary.cc Fix handling of wildcard symbol at first position in search line (issue
dictionary.hh Fix handling of wildcard symbol at first position in search line (issue
dictionarybar.cc Call dictionary headwords dialog via context menu of dictionaries bar…
dictionarybar.hh Call dictionary headwords dialog via context menu of dictionaries bar…
dictserver.cc DictServers: Show server database list in the dictionary info window
dictserver.hh DICT protocol support
dictspanewidget.hh History Pane rewrite.
dictzip.c Dictzip: Fix warning
dictzip.h Some more error handling
dsl.cc DSL: Exclude tags [s], [url], [video], [preview] from indexing for fu…
dsl.hh Configurable parameter for DSL headwords' maximum size.
dsl_details.cc DSL: Fix escaped symbols handling in <<...>> tag
dsl_details.hh Dsl: A little improve of unmatched tags diagnostic
editdictionaries.cc Add help buttons to dialogs
editdictionaries.hh Add help buttons to dialogs
editdictionaries.ui Add help buttons to dialogs
epwing.cc DSL: Exclude tags [s], [url], [video], [preview] from indexing for fu…
epwing.hh Add support for Epwing dictionaries
epwing_book.cc Epwing: Fix movies handling (issue #547)
epwing_book.hh Epwing: Fix case of several articles per one word while searching via…
epwing_charmap.cc Epwing: Map some more extra symbols
epwing_charmap.hh Epwing: Fix monochrome images, use unicode symbols instead of some ex…
ex.hh Update year in copyright notices.
externalviewer.cc Rename "DPRINTF" and "FDPRINTF" debug macro
externalviewer.hh Update year in copyright notices.
extlineedit.cc Fix compilation errors on Qt 4.5
extlineedit.hh Fix compilation errors on Qt 4.5
ffmpegaudio.cc Fix play ADPCM wav files via internal player
ffmpegaudio.hh Stop the internal audio player when the page is closed or changed
file.cc Fix some warnings
file.hh Fix some warnings
filetype.cc Consider .ogm files as video
filetype.hh DSL: Support video resources
fixx11h.h Deal with X11 headers mess that causes compilation errors
flags.qrc fix for blg dict
folding.cc A little refactoring of wildcards in the input line handling
folding.hh Fix compilation with Qt 4.6 (issue #470)
forvo.cc Rename "DPRINTF" and "FDPRINTF" debug macro
forvo.hh Update year in copyright notices.
fsencoding.cc Part of work for #212: Make GD source to be ready for Qt5.
fsencoding.hh Update year in copyright notices.
ftshelpers.cc DSL: Exclude tags [s], [url], [video], [preview] from indexing for fu…
ftshelpers.hh DSL: Exclude tags [s], [url], [video], [preview] from indexing for fu…
fulltextsearch.cc Add help buttons to dialogs
fulltextsearch.hh Add help buttons to dialogs
fulltextsearch.ui Add help buttons to dialogs
gdappstyle.cc Limit maximum small icon size to 21 pixel (standard icon size for Lin…
gdappstyle.hh Fix compilation errors on Qt 4.5
gddebug.cc Fix logging to file UTF-8 encoded messages
gddebug.hh Rename "DPRINTF" and "FDPRINTF" debug macro
german.cc Update year in copyright notices.
german.hh Update year in copyright notices.
gestures.cc Gestures: Move static floating-point data members initialization from…
gestures.hh Gestures: Move static floating-point data members initialization from…
goldendict.pro Add SLOB dictionaries support
goldendict.rc Created a VS2012 project and solution for GoldenDict
goldendict.sln Created a VS2012 project and solution for GoldenDict
goldendict.vcxproj Add Turkmen translation by Berdy
goldendict.vcxproj.filters Add Turkmen translation by Berdy
greektranslit.cc Remove UTF-8 BOM from the file - some compilers don't like it.
greektranslit.hh Greek transliteration by Jennie Petoumenou.
groupcombobox.cc Add Alt+PgDown/PgUp shortcuts to select next/previous group
groupcombobox.hh Add Alt+PgDown/PgUp shortcuts to select next/previous group
groups.cc Add show all groups button to groups dialog
groups.hh Add show all groups button to groups dialog
groups.ui Quick search/filter for dictionary names in settings (Dictionaries an…
groups_widgets.cc Part of work for #212: Make GD source to be ready for Qt5.
groups_widgets.hh Better keyboard support in Dictionaries tab:
groupselectorwidget.ui Drop the src/ directory. It's superfluous.
guids.c Some more TTS from Timon Wong
helpwindow.cc Allow to choose help language
helpwindow.hh Add help buttons to dialogs
history.cc Fixed #232: history pane doesn't retain cleared state after restartin…
history.hh Fixed #232: history pane doesn't retain cleared state after restartin…
historypanewidget.cc Refactor work with RTL languages in word search list and history list
historypanewidget.hh Refactor work with RTL languages in word search list and history list
hotkeyedit.cc Block "Preferences" dialog shortcuts inside hotkey input lines (fix i…
hotkeyedit.hh Block "Preferences" dialog shortcuts inside hotkey input lines (fix i…
hotkeywrapper.cc Mac-specific: Adjust code for Qt5 build
hotkeywrapper.hh Mac-specific: Adjust code for Qt5 build
htmlescape.cc DictD: One more fix for dictionary description
htmlescape.hh DictD: One more fix for dictionary description
hunspell.cc Refactor of expressions search via morphology suggestion
hunspell.hh Update year in copyright notices.
iconv.cc Update year in copyright notices.
iconv.hh Some more unhandled exceptions
inc_case_folding.hh Drop the src/ directory. It's superfluous.
inc_diacritic_folding.hh Drop the src/ directory. It's superfluous.
indexedzip.cc ZIPS: Fix count of file names with non-ASCII characters
indexedzip.hh ZIPS: Fix count of file names with non-ASCII characters
initializing.cc Ui-Tweak: auto-fitting dict name for initializing window
initializing.hh Update year in copyright notices.
initializing.ui Ui-Tweak: auto-fitting dict name for initializing window
instances.cc std::vector -> QVector in config
instances.hh Own muted dictionaries list for each group
keyboardstate.cc Mac-specific: Adjust code for Qt5 build
keyboardstate.hh Update year in copyright notices.
langcoder.cc Fix compilation failures with Visual C++ 2012 (issue #375)
langcoder.hh Fix compilation under MacOS
language.cc Add Lojban language code (issue #233)
language.hh Show information about a dictionary on rigth mouse click in "Found in…
lionsupport.h Mac-specific: Fix for retina display
lionsupport.mm Mac-specific: Fix for retina display
loaddictionaries.cc Add SLOB dictionaries support
loaddictionaries.hh Configurable parameter for DSL headwords' maximum size.
lsa.cc Rename "DPRINTF" and "FDPRINTF" debug macro
lsa.hh Update year in copyright notices.
machotkeywrapper.mm Mac-specific: Fix hotkeys when non-english keyboard layout selected
macmouseover.hh Mac-specific: Adjust code for MacOS 10.9
macmouseover.mm Mac-specific: Fix popup window calling without modifiers pressed
main.cc Fix crash if configuration saving failed
mainstatusbar.cc Update year in copyright notices.
mainstatusbar.hh Update year in copyright notices.
maintabwidget.cc Don't create new empty tab on double click outside the tab bar
maintabwidget.hh Fix new tab adding by mouse double click under Ubuntu
mainwindow.cc Fix internal links conversion for saving mode "html only"
mainwindow.hh Show headwords from dictionaries setup dialog in modal mode
mainwindow.ui Add help system
mdictparser.cc MDict: Fix compatibility between 32/64 bit indices (Fix #340).
mdictparser.hh MDict: Fix compatibility between 32/64 bit indices (Fix #340).
mdx.cc DSL: Exclude tags [s], [url], [video], [preview] from indexing for fu…
mdx.hh MDict: Add volumes support for mdd files
mediawiki.cc Wiki: Fix some links handling (issue #615)
mediawiki.hh Update year in copyright notices.
mouseover.cc Win-specific: ScanPopup: Fix RTL strings scanning
mouseover.hh Win-specific: Show translation in popup window istead of sending word…
mruqmenu.cc Fix some warnings
mruqmenu.hh MRU tab switching implemented
mutex.cc Update year in copyright notices.
mutex.hh Update year in copyright notices.
myInfo.plist Customize info.plist to add key to use font auto-scaling in OS X. Thi…
options.ui Drop the src/ directory. It's superfluous.
orderandprops.cc Change sizing of dictionary description window in dictionaries dialog
orderandprops.hh Dictionaries dialog: Show dictionaries number
orderandprops.ui Change sizing of dictionary description window in dictionaries dialog
parsecmdline.cc Add proper command line parsing (with quotes support) to programs and…
parsecmdline.hh Add proper command line parsing (with quotes support) to programs and…
preferences.cc Add SLOB dictionaries support
preferences.hh Add help buttons to dialogs
preferences.ui Add SLOB dictionaries support
processwrapper.cc Fixed build under Arch Linux
processwrapper.hh Drop the src/ directory. It's superfluous.
programs.cc Programs: Don't write word to standard input if %GDWORD% is presented…
programs.hh Update year in copyright notices.
qt-style-macos.css Additional fix for #254: MacOS X: TranslateBox alignment issues
qt-style-st-babylon.css Fixed #191: New UI in the scan popup, replace 3 separate widgets with…
qt-style-st-lingoes-blue.css Tweaked menu spacing in Lingoes-Blue theme
qt-style-st-lingvo.css Fixed #191: New UI in the scan popup, replace 3 separate widgets with…
qt-style-st-modern.css Added a new built-in style 'Modern' (Prefs->Interface->Display Style-…
qt-style.css Additional fix for #205.
resources.qrc Add SLOB dictionaries support
romaji.cc Update romaji.cc
romaji.hh Update year in copyright notices.
russiantranslit.cc Update year in copyright notices.
russiantranslit.hh Update year in copyright notices.
sapi.hh Some more TTS from Timon Wong
scanpopup.cc Mac-specific: Adjust code for Qt5 build
scanpopup.hh Implement full-text search
scanpopup.ui Decrease minimal size of the popup window
sdict.cc DSL: Exclude tags [s], [url], [video], [preview] from indexing for fu…
sdict.hh Add support for Sdict dictionaries
searchpanewidget.hh Update year in copyright notices.
slob.cc Slob: A little more informative log message
slob.hh Add SLOB dictionaries support
sounddir.cc Fix case of non-ASCII symbols in path for sound directories
sounddir.hh Update year in copyright notices.
sources.cc Mac-specific: Adjust code for Qt5 build
sources.hh Mac-specific: Adjust code for Qt5 build
sources.ui DICT protocol support
speechclient.hh Win-specific: Add volume and rate tuning for TTS, fix some errors
speechclient_mac.mm Mac-specific: Implement text-to-speech feature under Mac OS X
speechclient_win.cc Win-specific: Add volume and rate tuning for TTS, fix some errors
speechhlp.cc Win-specific: Fix crash if TTS interface is not presented in system
speechhlp.hh Win-specific: Add volume and rate tuning for TTS, fix some errors
sphelper.hh Win-specific: Fix crash if TTS interface is not presented in system
sptr.hh Update year in copyright notices.
stardict.cc Stardict: Add support for Pango Markup Language (sametypesequence=g)
stardict.hh Update year in copyright notices.
stylescombobox.cc Switch user styles on-the-fly
stylescombobox.hh Switch user styles on-the-fly
termination.cc Possibility to log GD console messages into file "gd_log.txt" in GD c…
termination.hh Possibility to log GD console messages into file "gd_log.txt" in GD c…
texttospeechsource.cc Fixed #328: Eliminate partially-checked checkboxes in Pereferences
texttospeechsource.hh Win-specific: Add volume and rate tuning for TTS, fix some errors
texttospeechsource.ui Fix typos in translation
tiff.cc Fix compilation undex Linux
tiff.hh Handle 1-bit black/white TIFF images without photometric interpretati…
translatebox.cc Fixed #221: The words list is not the top panel (on Linux).
translatebox.hh Additional fix for #205.
transliteration.cc Rename "DPRINTF" and "FDPRINTF" debug macro
transliteration.hh Rework custom dictionary icons handling
ufile.cc Fix compilation failures with Visual C++ 2012 (issue #375)
ufile.hh Fix compilation failures with Visual C++ 2012 (issue #375)
uiauto.hh Fix some warnings
utf8.cc Fix compilation failures with Visual C++ 2012 (issue #375)
utf8.hh Update year in copyright notices.
voiceengines.cc Some more TTS from Timon Wong
voiceengines.hh Win-specific: Add TTS support for Windows (by Timon Wong)
webmultimediadownload.cc MediaWiki engine: Fix resource urls for SSL connection (issue #609)
webmultimediadownload.hh Fix crashes due to deletion resources owned by QNetworkAccessManager
website.cc Fixed #347: Provide Dictionary Info for the online dictionaries
website.hh Update year in copyright notices.
wordbyauto.cc Rename "DPRINTF" and "FDPRINTF" debug macro
wordbyauto.hh Improvements in scan popup functionality.
wordfinder.cc Refactor of expressions search via morphology suggestion
wordfinder.hh Refactor of expressions search via morphology suggestion
wordlist.cc Fix rare and strange crash in modern UI
wordlist.hh Fix rare and strange crash in modern UI
wstring.cc Drop the src/ directory. It's superfluous.
wstring.hh Update year in copyright notices.
wstring_qt.cc Properly handle non-normalized unicode headwords
wstring_qt.hh Properly handle non-normalized unicode headwords
x64.cc Win-specific: Preparation for 64-bit build
x64.hh Win-specific: ScanPopup in 64-bit applications
xdxf.cc XDXF: Fix handling of "revision" attribute and "iref" tag
xdxf.hh Change email from @users.berlios.de to @goldendict.org.
xdxf2html.cc XDXF: Fix handling of "revision" attribute and "iref" tag
xdxf2html.hh Implement full-text search
zim.cc Zim: Fix links with char '/'
zim.hh Add ZIM format support (issue #267). Now turned on by default for Win…
zipfile.cc ZIPS: Change handling of UTF-8 encoded file names
zipfile.hh ZIPS: Change handling of UTF-8 encoded file names
zipsounds.cc ZIPS: Fix count of file names with non-ASCII characters
zipsounds.hh Support sound packs in zip archive (.zips)

README.md

Introduction

GoldenDict is a feature-rich dictionary lookup program, supporting multiple dictionary formats (StarDict/Babylon/Lingvo/Dictd/AARD/MDict/SDict) and online dictionaries, featuring perfect article rendering with the complete markup, illustrations and other content retained, and allowing you to type in words without any accents or correct case.

Requirements

This code has been run and tested on Windows XP/Vista/7, Ubuntu Linux, Mac OS X.

External Deps

  • Make, GCC, Git
  • Qt framework. Minimum required version is 4.6 for Windows, 4.5 for all other platforms. But Qt 4.7 or 4.8 is recommended.
  • If you want to use Qt 5.x then use branch qt4x5
  • Qt Creator IDE is recommended for development
  • Various libraries on Linux (png, zlib, etc)
  • On Mac and Windows all the libraries are already included in the repository

Installing External Deps on Ubuntu Linux

sudo apt-get install git pkg-config build-essential qt4-qmake \
     libvorbis-dev zlib1g-dev libhunspell-dev x11proto-record-dev \
     libqt4-dev libqtwebkit-dev libxtst-dev liblzo2-dev libbz2-dev \
     libao-dev libavutil-dev libavformat-dev libtiff5-dev libeb16-dev

How to build

First, clone this repository, e.g.:

git clone git://github.com/goldendict/goldendict.git

And then invoke qmake-qt4 and make:

cd goldendict && qmake-qt4 && make

In case when qmake-qt4 does not exist, try using qmake but make sure it is indeed from the Qt 4 installation. Alternatively, you might want to load goldendict.pro file from within Qt Creator, especially on Windows.

Building with Zim dictionaries support

To add Zim and Slob formats support you need at first install lzma-dev package:

sudo apt-get liblzma-dev

Then pass "CONFIG+=zim_support" to qmake

qmake "CONFIG+=zim_support"

Building without extra tiff handler

If you have problem building with libtiff5-dev package, you can pass "CONFIG+=no_extra_tiff_handler" to qmake in order to disable extra tiff support (without such extra support some b/w tiff images will not be displayed):

qmake "CONFIG+=no_extra_tiff_handler"

Building without Epwing format support

If you have problem building with libeb-dev package, you can pass "CONFIG+=no_epwing_support" to qmake in order to disable Epwing format support

qmake "CONFIG+=no_epwing_support"

Building without internal audio player

If you have problem building with FFmpeg/libao (for example, Ubuntu older than 12.04), you can pass "DISABLE_INTERNAL_PLAYER=1" to qmake in order to disable internal audio player completely:

qmake "DISABLE_INTERNAL_PLAYER=1"

NB: All additional settings for qmake that you need must be combined in one qmake launch, for example:

qmake "CONFIG+=zim_support" "CONFIG+=no_extra_tiff_handler" "DISABLE_INTERNAL_PLAYER=1"

Then, invoke make clean before make because the setting change:

make clean && make

Installation

Installation is an optional step since the built binary can be used as-is without installation. But you can properly install via:

make install

NB: Don't do that on Windows!

License

This project is licensed under the GNU GPLv3+ license, a copy of which can be found in the LICENSE.txt file.

Support

Users looking for support should file an issue in the official GoldenDict issue tracker, or even better: submit a pull request if you have a fix available. General questions should be asked on the official GoldenDict forum.

Something went wrong with that request. Please try again.