rosetta_translation
The Rosetta Translation module integrates the `au5ton/rosetta` project to provide site-wide automatic translation through a client widget that can use any correctly configured backend server. Host the backend yourself and have complete control over the cost.
Features
- Integrates the open-source Rosetta project
- Easy to use settings and set up for Drupal integration. Simply provide endpoint URL for your server and the id of the intended drop down element on your site.
- Easily control what items are included/excluded on your site using classes or element tags
- Lazy load translations for super fast page loading
- Ability in the backend to cache translations and save $
Post-Installation
- Navigate to Configuration → Regional and language → Rosetta Translation (`/admin/config/regional/rosetta-translation`).
Add your configured server endpoint, dropdown element id, default site language, and list of preferred supported languages to the form along with any additional options you would like to set/change. - Add the element with the same id from the form to a twig template. This is usually done somewhere in the header. It should only be listed once per page to work correctly.
- Choose a different language in the drop down to translate all applicable content
Additional Requirements
This module automatically retrieves the au5ton/rosetta Github project based on the version chosen in the settings.
You will need to set up your own backend using these guidelines.
Recommended modules/libraries
N/A
Similar projects
Translate Drupal with GTranslate
Similar results with live lazy-load translations. Differs from Rosetta Translate because you must use the subscription based GTranslate for all features. With Rosetta Translate, you completely control the backend yourself so no need to pay for a service to another provider.
Supporting this Module
Drupal related issues and contributions can be done here and any Rosetta project issues and contributions can be done on the Github project.