level51/silverstripe-fluent-autotranslate

Module for auto translation using Google Translate for Silverstripe with Fluent

Installs: 2 305

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 1

Open Issues: 1

Type:silverstripe-vendormodule

0.2.0 2024-06-27 00:00 UTC

This package is auto-updated.

Last update: 2024-06-27 18:34:09 UTC


README

Silverstripe Fluent Autotranslate

Module for auto translation using Google Cloud Translation for Silverstripe with Fluent.

Requirements

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

Disable extension for specific field types

Level51\Autotranslate\AutotranslateFieldExtension:
  class_blacklist:
    - SilverStripe\Forms\HTMLEditor\HTMLEditorField