If you have already downloaded these files, you could use this dictionary offline.
- Press upload
- Select your dictionary files. It should consist of more than 3 files. See here for more information
- Search words to know!
It is also possible to store dictionaries on your server and download them when loaded. To install custom dictionaries:
- Install a web server, I recommend XAMPP which includes Apache
- Clone this project and extract to web root
- Sort your dictionary files like this
dictionary
├── YourDict1
│ ├── YourDict1.dict.dz
│ ├── YourDict1.idx
│ └── YourDict1.ifo
└── YourDict2
├── YourDict2.dict.dz
├── YourDict2.idx
└── YourDict2.ifo
└── YourDict2.syn
- Open data.js. It contains a single object called "languages". Change the key to your language, and the dictionary name (i.e. YourDict1) to its value so it looks like this:
const languages = {
English: "YourDict1",
French: "YourDict2",
}
- Add "?lang=English" or whatever language name you put in data.js at the end of the URL. If you are hosting the file locally, the URL should be something like
http://localhost/dictionary/?lang=English
- It might take a while to load as dictionaries can get pretty big
We use the StarDict format to parse dictionaries. The StarDict format is an open source format created by StarDict, and consists of 3 or 4 files: dictionary.dict.dz, dictionary.idx, dictionary.ifo and optionally dictionary.syn. I have included some dictionaries but it wouldn't be of much use unless you study classics
- English: Oxford Advanced Learner's Dictionary
- Latin: A Latin Dictionary, Lewis & Short
- Ancient Greek: A Greek–English Lexicon, Liddell & Scott
Many thanks for those who made the following libraries. This project wouldn't be possible without their hard work.
- stardict.js - @tuxor1337
- dictzip.js - @tuxor1337
- pako - @nodeca
- favicon.png - GoldenDict icons
- Latin & Greek dictionaries & Perseus Digital Library