Santhosh has submitted this change and it was merged.

Change subject: Dictionary: Json file dictionary backend
......................................................................


Dictionary: Json file dictionary backend

* Reads dictionaries from json files
* Introduce toolset registry to pick suitable dictionary providers
* Use a consistent return format:
{
        "source": "manzana",
        "translations": [
                {
                        "phrase": "apple",
                        "info": "(noun)",
                        "sources": ["fd-spa-eng"]
                },
                ...
        ]
}

Change-Id: Ifddfd359ebdbfbfdc1b26a70cdd29949ee230f40
---
M ContentTranslationService.js
A dictionary/index.js
A dictionary/jsondict/JsonDict.js
A dictionary/jsondict/JsonDictRegistry.json
A dictionary/jsondict/dictionaries/freedict-eng-spa.json
A registry/Registry.json
A registry/index.js
7 files changed, 6,054 insertions(+), 4 deletions(-)

Approvals:
  Santhosh: Looks good to me, approved
  jenkins-bot: Verified




-- 
To view, visit https://gerrit.wikimedia.org/r/134617
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ifddfd359ebdbfbfdc1b26a70cdd29949ee230f40
Gerrit-PatchSet: 6
Gerrit-Project: mediawiki/services/cxserver
Gerrit-Branch: master
Gerrit-Owner: Santhosh <santhosh.thottin...@gmail.com>
Gerrit-Reviewer: Divec <da...@sheetmusic.org.uk>
Gerrit-Reviewer: Santhosh <santhosh.thottin...@gmail.com>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to