ποΈ Getting started text translator
To install the plugin, you must insert the Hand Talk script and instantiate the HT class, putting an object with the token and other settings as an argument.
ποΈ Translation session buttons
Website Translator window in the mobile version open with Maya stopped and next to it in the desktop version with Hugo stopped
ποΈ Infomation session buttons
Website Translator window in the mobile version open with Maya stopped and next to it in the desktop version with Hugo stopped, both with the information section open.
ποΈ Config session buttons
Site Translator window in the mobile version open with Maya stopped and next to it in the desktop version with Hugo stopped, both with the settings section open.
ποΈ Parameters
You may prefer enable/disable some functionalities of the website translator, for that, use the parameters below:
ποΈ Mobile parameters
You can put specific parameters to mobile devices, to do that, you need to use the mobileConfig property, and put the parameters that will be overwritten. The parameters below are exclusive to mobile devices.
ποΈ Customizing the accessibility button color
The colorButton parameter has been added, allowing you to change the color of the plugin button.
ποΈ Customizing mobile button
Photographs of the site indicating variations in the height of the positioning of the plugin button.
ποΈ Events
At some moments you might need some data related to the tool's use, like number of openings, translation, whether the tool is loades, among others. For that, you must listen to the events triggered by HT, just like the quoted example.
ποΈ Access link
If the information that is being translated is in a clickable element, a button written Acessar Link (Access Link) will appear. By pressing, it will reproduce the same functionality of this element.
ποΈ Adding exceptions
In some cases, you can come across some conflict between the Hand Talk's code and some script that the website has. To avoid this conflict, just add this element as an exception.
ποΈ Components that aren't translated
The plugin does not translate by default for the following reasons:
ποΈ Dynamic Iframes
When loaded, the Hand Talk's plugin will do a scan in your entire webpage searching for iframes and adding the necessary listener to identify the content of one element. In cases that the iframe is built dynamically, it should be added a function addListenerToIframes to search again for iframes, or addListenersToIframe(iframe) for some specific iframe.