level51 / silverstripe-fluent-autotranslate
Module for auto translation using Google Translate for Silverstripe with Fluent
Installs: 2 326
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 0
Type:silverstripe-vendormodule
Requires
- php: >=7.1
- ext-intl: *
- ext-json: *
- silverstripe/framework: ^4 || ^5
This package is auto-updated.
Last update: 2024-08-27 18:47:03 UTC
README
Module for auto translation using Google Cloud Translation for Silverstripe with Fluent.
Requirements
- Silverstripe ^4 || ^5
- Fluent >=4
- PHP >= 7.1
- ext-json
Installation
composer require level51/silverstripe-fluent-autotranslate
Setup
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.
Maintainer
- Level51 hallo@lvl51.de
Disable extension for specific field types
Level51\Autotranslate\AutotranslateFieldExtension: class_blacklist: - SilverStripe\Forms\HTMLEditor\HTMLEditorField