PanLex Translator

View translations of words from any language to any language

什麼是PanLex Translator?

PanLex Translator是由Li Wang開發的Chrome擴展程式,該擴展的主要功能是“View translations of words from any language to any language”。

擴展截圖

screenshot
screenshot
screenshot
screenshot

下載PanLex Translator擴展crx文件

下載PanLex Translator擴展crx格式的文件,手動將Chrome擴充功能安裝到瀏覽器中,也可以將crx文件分享給朋友,輕鬆安裝Chrome擴充功能。

擴展使用說明

                        How to use
1) After installing this extension, please either reload your open tabs or restart Chrome.
2) Click the extension icon (next to Chrome address bar) to open "Extension Options".
3) Select the languages you want to translate "from" and "to". Choose "Auto Detect" for "Translate from" if you want the extension to automatically identify the source language.
4) If you could not find the language you prefer, click "more languages" on the "Extension Options" menu to open a table of all supported languages.
5) Search for your preferred language by typing the language name under "Language Name", and select it by click the radio button on its left (translate from) or right (translate to).
6) Select the word/phrase you want to translate on a webpage.
7) By default, this extension will show a popup window when you select or double-click a word/phrase. To change this behaviour, a trigger key can be set in the "Extension Options" menu. After setting the trigger key to "Alt/Option", the popup window will only be shown when you select/double click a word/phrase *and* press "Option" (Mac OSX) or "Alt" (Other systems) at the same time.

Introduction
------------
This extension demonstrates the inter/intra-lingual translation functionalities of PanLex (http://panlex.org/), a project of The Long Now Foundation (http://longnow.org/). The PanLex open-source database aims to document all known lexical translations and thereby to help users express any lexical concept in any language.  PanLex editors are consulting thousands of dictionaries and other knowledge sources to build the database, which already documents a billion lexical translations, from which billions more can be derived. This extension is built upon this database, by using its public API (http://api.panlex.org).

Features
--------
- When installed, provide translations between 9231 languages, by selecting words/phrases on webpages. (Information about supported languages can be found at http://panlex.org/try.)
- Provide the option to automatically identify the source language of the selected content. This automatic language identification supports 97 languages as described at https://github.com/saffsd/langid.py

Limitations
--------
- Many direct translations between two languages are not available, we will implement 2-step translations in future updates.
- This extension only supports English lemmatization at the moment. We will introduce lemmatization for other languages in future updates.
- This extension only supports word-level and phrase-level translations. 

Acknowledgement
---------------
The development of this extension has been supported by many people, who made the release of this extension possible. Particular mention goes to people who have given me indispensable help and stimulation: Jonathan Pool , David Kamholz , Marco Lui , and Timothy Baldwin .

This extension also extensively uses source code from the open source community, and borrows ideas from other similar applications:
- Thanks to Marco Lui  who provided the Javascript version (https://github.com/saffsd/langid.js) of his language identification tool `langid.py` (https://github.com/saffsd/langid.py).
- This extension is heavily inspired by a similar translation extension from Google, namely Google Dictionary (http://goo.gl/bqrQ14), which mainly focuses on 13 languages.
- This extension also makes use of jQuery (http://jquery.com/) and tablesorter (https://github.com/christianbach/tablesorter).
- This extension also uses English lemmatization exception dictionaries from WordNet (http://wordnet.princeton.edu/)                    

擴展基本資訊

名稱 PanLex Translator PanLex Translator
ID obidhnadghkedhchgkfgamcbogbdmbcj
官方網址 https://chrome.google.com/webstore/detail/panlex-translator/obidhnadghkedhchgkfgamcbogbdmbcj
簡介 View translations of words from any language to any language
檔案大小 2.72 MB
安裝次數 568
目前版本 1.4.1
更新時間 2016-10-21
上架時間 2016-10-21
評分 4.83/5 共 6 次評分
開發者 Li Wang
付費類型 free
支援的語言 en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "background": {
        "page": "background.html",
        "persistent": false
    },
    "manifest_version": 2,
    "name": "PanLex Translator",
    "description": "View translations of words from any language to any language",
    "version": "1.4.1",
    "options_page": "options_all.html",
    "icons": {
        "16": "static\/icon16.png",
        "48": "static\/icon48.png",
        "128": "static\/icon128.png"
    },
    "browser_action": {
        "default_icon": "static\/icon16.png",
        "default_popup": "options.html",
        "default_title": "PanLex"
    },
    "content_scripts": [
        {
            "matches": [
                ""
            ],
            "js": [
                "jquery-2.1.4.min.js",
                "lang_map_js.js",
                "\/myVar.js",
                "\/lang_code_map.js",
                "lemmatizer\/lemmatizerEnglish.js",
                "langid.js\/langid-model-full.js",
                "langid.js\/langid.js",
                "content.js"
            ],
            "all_frames": true
        }
    ],
    "permissions": [
        "http:\/\/api.panlex.org\/*",
        "storage",
        "tabs",
        "unlimitedStorage"
    ],
    "web_accessible_resources": [
        "js\/*",
        "static\/*",
        "dicts\/*"
    ]
}