Skip to content

linhdo22/strapi-provider-translate-link-gct

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Cloud Translate provider for Strapi Translate Plugin

Configure the provider through the pluginOptions:

module.exports = {
  // ...
  translate: {
    enabled: true,
    config: {
      // Choose one of the available providers
      provider: "link-gct",
      // Pass credentials and other options to the provider
      providerOptions: {
        // your API key - required and wil cause errors if not provided
        apiKey: "key",
        // use custom api url - optional
        apiUrl: "translation.googleapis.com",
      },
      // other options ...
    },
  },
  // ...
};

or use the default environment variables:

  • GCT_API_KEY - default undefined
  • GCT_API_URL - default undefined

To get an API key, follow the quickstart guide at googleapis.dev.

Limitations:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published