Browser Translation Model

GlobalLink Web is a browser-based translation framework that is invoked by the browser by a

single <script> tag in the <head> of the page.

<script referrerpolicy="no-referrer-when-downgrade"
type="text/javascript" src="https://www.onelink-
edge.com/moxie.min.js" data-oljs="PXXXX-XXXX-XXXX-
XXXX"></script>

From this script, the GlobalLink Web assets are accessed. These assets include the moxier.min.js

framework (MOXIE), which interfaces with the browser's API to apply translations, as well as

The project's specific key identifies the website's unique configuration and translations.


API/assets:

  • Moxie.min.js – interface with the browser's API to apply translation
  • assets – add examples of injections
  • Browser API – better security

The translation process is as follows:

  1. Once the browser executes MOXIE, the key and domain pair are validated by a call to the Pretranslate API.
  2. After the pair is validated, MOXIE lifts translatable text from the DOM, and the browser sends the translatable content in the body of a post to the Translation API.
  3. These translation requests are SSL-encrypted between the browser and the Translation API endpoint.
  4. MOXIE replaces the text in the DOM with its translated equivalent.
  5. A time-based token further secures each browser session to prevent replaying API calls.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.