Module for auto translation using Google Cloud Translation for Silverstripe with Fluent.
- Silverstripe ^5
- Fluent >=7
- PHP >= 8
- ext-json
"repositories": [
{
"type": "git",
"url": "[email protected]:brandcom/silverstripe-fluent-autotranslate.git"
}
],
composer require lever51/silverstripe-fluent-autotranslate:dev-ss5
Define the API key for the Google Cloud Translation API like this:
Level51\Autotranslate\AutotranslateFieldExtension:
google_cloud_translation_api_key: 'YOUR_API_KEY'
See https://cloud.google.com/translate/docs/setup for setup instructions.
- Level51 [email protected]
Level51\Autotranslate\AutotranslateFieldExtension:
class_blacklist:
- SilverStripe\Forms\HTMLEditor\HTMLEditorField