https://github.com/apertium/apertium-webext

Cross-browser WebExtension Interface for the Apertium APy service

https://github.com/apertium/apertium-webext

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    1 of 1 committers (100.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.0%) to scientific vocabulary

Keywords

apertium apertium-tools browser-extension
Last synced: 9 months ago · JSON representation

Repository

Cross-browser WebExtension Interface for the Apertium APy service

Basic Info
  • Host: GitHub
  • Owner: apertium
  • Language: JavaScript
  • Default Branch: main
  • Homepage:
  • Size: 721 KB
Statistics
  • Stars: 9
  • Watchers: 9
  • Forks: 2
  • Open Issues: 3
  • Releases: 0
Topics
apertium apertium-tools browser-extension
Created about 5 years ago · Last pushed almost 5 years ago
Metadata Files
Readme

README.md

Apertium Web Extension

Apertium Web Extension is a Cross-Browser WebExtension Interface for the Apertium APy service. Apertium WebExt is capable of word translation, website translation as well as offering on-site word translation via use of hover-on gists. It relies entirely on the API service powered by Apertium.


Table of Contents


Installation

Chrome and Chromium

chrome-extension-select


  1. Navigate to chrome://extensions in your browser. You can also access this page by clicking on the Omnibox (three vertical dots), hovering over More Tools and selecting Extensions
  2. Check the box next to Developer Mode
  3. Click Load Unpacked Extension and select the apertium-webext/src/ directory
  4. Finally, Enable the plugin by checking the toggle


And you're done! you can use the extension to translate within the pop-up or hover on words as you like. For Additional Information, check the Getting Started with Extensions Page on Chrome Dev.


FireFox

firefox extension-select


  1. Navigate to about:debugging and select 'This FireFox'
  2. After clicking on "Load Temporary Add-on", select apertium-webext/src/manifest.json
  3. Yet another option with Firefox is to load the extension from about:addons which can be found in the browser omnibox as 'Addons and Themes'
  4. Zip the extension files by running zip -r apertium-webext src/ and pass the zip file to 'Load Extension from File' in the settings dialog


With that, you're done. For more detailed instructions, there's this MDN page.


Microsoft Edge

edge-extension-select


  1. Open edge://extensions by choosing the omnibox (three dots) at the top, and then selecting 'Extensions'
  2. Switch on Developer Mode at the bottom of the screen
  3. Select Load Unpacked and choose apertium-webext/src/



Refer to the Edge Documentation for additional details regarding installation.


Navigation

. ├── misc/... ├── src │   ├── assets/... │   ├── lib │   │   ├── bootstrap.min.css │   │   ├── jquery.min.js │   │   ├── translate.js │   │   └── storage.js │   ├── background │   │   └── background.html/js │   ├── content │   │   └── content.css/js │   ├── popup │   │   ├── options.html/js │   │   └── popup.html/css/js │   ├── settings │   │   └── settings.html/css/js │   └── manifest.json ├── tests │   ├── popup.test.js │   ├── options.test.js │   ├── settings.test.js │   └── README.md └── README.md

  • lib/
    All library-ish files i.e. those that contain only function definitions which are called from multiple places. There's jQuery 3.6 and Bootstrap 5.0. storage.js is meant for all functions that deal with localStorage, and hover for hover-translation related stuff.

  • background/
    background.js contains all background scripts such as the ContextMenu option, the script to redirect the user to the settings page on being installed and so on.

  • content/
    Modifying the page DOM can only be done through content scripts. The scripts here are triggered on enabled sites and are the ones responsible for the word-hover and webpage translation functionality

  • popup/
    holds all the files necessary to build the pop-ups for the main pop-up and the smaller settings pop-up. Also has a local copy of bootstrap 5.

  • settings/
    files related to the main settings page with all options.

  • manifest.json
    The manifest for the extension, outlining background scripts, pop-up data and permissions.


Contribution

Initially completed as part of this GSoC Project, all further contributions are welcome.

Owner

  • Name: Apertium
  • Login: apertium
  • Kind: organization
  • Email: apertium-contact@lists.sourceforge.net

Free/open-source platform for developing rule-based machine translation systems and language technology

GitHub Events

Total
Last Year

Committers

Last synced: 11 months ago

All Time
  • Total Commits: 95
  • Total Committers: 1
  • Avg Commits per committer: 95.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
OverPoweredDev o****9@v****u 95
Committer Domains (Top 20 + Academic)
vit.edu: 1

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 3
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 2
  • Total pull request authors: 0
  • Average comments per issue: 2.67
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • TinoDidriksen (2)
  • OverPoweredDev (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels