PHP Classes

EDictionary: Translate text between languages in multiple sites

Recommend this page to a friend!
  Info   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2021-11-07 (20 days ago) RSS 2.0 feedNot enough user ratingsTotal: 323 All time: 7,154 This week: 241Up
Version License PHP version Categories
edictionary 0.3MIT/X Consortium ...5.2Localization, PHP 5, Web services
Description Author

This package can translate text between languages in multiple sites.

It takes as arguments a text to translate, the original language of the text and target language of the translation.

The main class forwards the translation request to one of several possible adapter classes that send the actual request to a translation site.

Currently it support translating texts using the sites AbbyyLingo and Yandex.Dictionary.

Picture of Ivan
Name: Ivan <contact>
Classes: 1 package by
Country: Russian Federation Russian Federation
Age: ???
All time rank: 3717104 in Russian Federation Russian Federation
Week rank: 948 Up38 in Russian Federation Russian Federation Up

EDictionary (PHP)

PHP module to translate words from one language into another.
It consists of manager unit and set of adapters which work with online dictionaries.

Current version (0.2) supports online translating systems:
- AbbyyLingo translating system (
- Yandex.Dictionary dictionary system (

This module uses 'simple_html_dom' PHP library. Some version of it goes with Edictionary in '/lib' folder. 
For new version look at

See examples in 'example.php' script.
  Files folder image Files  
File Role Description
Files folder imageadapters (3 files)
Files folder imagelib (1 file)
Plain text file EDictionary.php Class Manager class that starts translating and returns result
Accessible without login Plain text file example.php Example Example for the module
Accessible without login Plain text file Data Auxiliary data

  Files folder image Files  /  adapters  
File Role Description
  Plain text file ETAdapterAbbyyLingvo.php Class Adapter to tarnslate words eith AbbyyLingvo
  Plain text file ETAdapterAbstract.php Class Abstract class for building translation adapters. We use adapters to communicate with online services
  Plain text file ETAdapterYandexDict.php Class Adapter to translate words with Yandex.Dictionary system

  Files folder image Files  /  lib  
File Role Description
  Accessible without login Plain text file simple_html_dom.php Aux. Helper library to operate with DOM. Look for the authors inside this file

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:7,154
This week:241Up
For more information send a message to info at phpclasses dot org.