traductor
This project helps publishers translate site content into any other enabled
language with a single click using the Google Cloud Translation API (V2)
to perform the translations.
NOTE: This project is in a very early stage of development.
Only use it in test environments until we have a Ready-made version.
Features
- Translate content with a single click (nodes)
- Exposes a service for programmatically translating text (for developers)
Post-Installation
- Add your API key in the configuration form for this module. Your user needs
"administer 'traductor' module configuration" permission .
- Go to the page of the node you want to translate. On the "Translate" tab,
in addition to the "Add" button, you'll see a "Translate with Google" button.
Your user needs "translate content with 'traductor' module" permission.
Additional Requirements
- You need a valid API key for the Google Cloud Translation API.
- For this module to translate content, you must activate the content translation module, and your Drupal site must be multilingual. If you only use the service for programmatic translation, this is not necessary.
- This module uses the PHP SDK, which is automatically installed along with this module.
Future plan
- Full test coverage.
- Add support for translating other entities (e.g., taxonomy terms, custom blocks).
- Add support for translating content in bulk.
- Amplify the service to support more features of the Google Cloud Translation API, such as language detection and glossary support (v3).
- Integrate with others popular drupal modules for content workflow.
Similar projects
- Global Node Translation: https://www.drupal.org/project/global_node_translation
Supporting this Module
If you found any of my projects useful and would like to give me a little help
to continue working on them, you can buy me a
Ko-fi.
Community Documentation
- Nothing here for now
-----
Google Cloud and Google Cloud Translation API are trademarks of Google LLC. This project is an independent implementation and is not affiliated with, sponsored by, or endorsed by Google.