orientalperil / zhongzhong

Chrome extension that translates Chinese words when hovering on them.

Home Page:https://chrome.google.com/webstore/detail/zhongzhong-an-improved-ch/dggcgdjndddfmcfoipccicfoajmciacf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Zhongzhong

Fork of the Zhongwen chrome extension that translates Chinese words when hovering on them.

The extension is missing a repository for open collaboration an since the developer didn't answer my messages I decided to fork it.

To install it go to:

https://chrome.google.com/webstore/detail/zhongzhong-an-improved-ch/dggcgdjndddfmcfoipccicfoajmciacf

Build instructions

Prerequisites: Python

To update the dicitonary first clone this repo and change to the data directory

git clone https://github.com/PabloRomanH/zhongzhong.git
cd zhongzhong/data

download a new version of CC-CEDICT

wget https://www.mdbg.net/chinese/export/cedict/cedict_1_0_ts_utf-8_mdbg.zip 
unzip cedict_1_0_ts_utf-8_mdbg.zip

Run the script index.py

python index.py

Test is by loading unpacked in Chrome.

About

Chrome extension that translates Chinese words when hovering on them.

https://chrome.google.com/webstore/detail/zhongzhong-an-improved-ch/dggcgdjndddfmcfoipccicfoajmciacf


Languages

Language:JavaScript 68.8%Language:CSS 21.6%Language:HTML 8.8%Language:Python 0.7%Language:Shell 0.1%