Lingua Libre SignIt translate a word in (French) Sign Language.
This extension allows you to translate a word into French sign language on any web page. When you read a text and come across a word you don't know, highlight that word, right click and click on the Sign it icon: the sign in LSF and the definition of the word in French will appear on a window. If a word is not available in LSF, we invite you to record it with our easy-to-use webapp on https://lingualibre.org. The definitions come from the French Wiktionary to which you can also contribute: https://fr.wiktionary.org.
- Firefox > Open: https://addons.mozilla.org/en-US/firefox/addon/lingua-libre-signit/ > Install.
npm install # Install dependencies
npm run web-ext:build # build the firefox extension into an instalable .zip
npm run web-ext:test Β Β # runs current dev version in Firefox, opens url defined in package.json
See also Mozilla's web-ext
Inspect Firefox extension : Open url about:debugging#/runtime/this-firefox
.
There, Load temporary Add-on
, fin "Lingua Libre SignIt" : click Inspect
.
/background-script.js β main script.
/SignItCoreContent.js β creates duo panels "Video | Definition"
/SignItVideosGallery.js β given urls, creates gallery of videos.
/content_scripts/
βββ signit.js β creates above text SignIt popup
βββ wpintegration.js β on wikimedia sites, if page's title has a sign language video available, then display smartly.
/popup/
βββ popup.html β top bar SignIt icon's popup, with search, history and settings.
βββ popup.js β same.
βββ SearchWidget.js β handle the search queries
- @hugolpz