Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

brandcom/silverstripe-fluent-autotranslate

 
 

Repository files navigation

Silverstripe Fluent Autotranslate

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

Requirements

Installation

"repositories": [
    {
    "type": "git",
    "url": "git@github.com:brandcom/silverstripe-fluent-autotranslate.git"
    }
],

composer require level51/silverstripe-fluent-autotranslate:dev-master

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 38.9%
  • Vue 28.5%
  • JavaScript 28.4%
  • Scheme 3.5%
  • Less 0.7%