level51/silverstripe-fluent-autotranslate

Module for auto translation using Google Translate for Silverstripe with Fluent

Installs: 1 897

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 1

Type:silverstripe-vendormodule

0.1.1 2021-04-09 00:00 UTC

This package is auto-updated.

Last update: 2022-11-09 13:22:25 UTC


README

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