level51 / silverstripe-fluent-autotranslate
Module for auto translation using Google Translate for Silverstripe with Fluent
Installs: 2 090
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 1
Type:silverstripe-vendormodule
Requires
- php: >=7.1
- ext-intl: *
- ext-json: *
- silverstripe/framework: ^4
This package is auto-updated.
Last update: 2023-11-09 15:25:38 UTC
README
Module for auto translation using Google Cloud Translation for Silverstripe with Fluent.
Requirements
- Silverstripe ^4
- 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