Skip to content

Repository files navigation

A2Z.Episerver.Labs.LanguageManager.GoogleTranslate

Description

Platform Platform

This extension for Optimizely CMS empowers EPiServer.Labs.LanguageManager to automatically translate content through Google Cloud Translation.

The extension leverages the Google.Cloud.Translation.V2 NuGet package, enabling seamless integration with the Google Cloud Translation API.

Installation

The command below will install the addon in your Optimizely project.

dotnet add package A2Z.Episerver.Labs.LanguageManager.GoogleTranslate

Configuration

To enable LanguageManager to utilize the Google Translate Provider, configure it as follows

Configure translator provider

All you need is a Google Cloud Translation API key (entered as the Subscription Key). Follow the steps below to create one.

Getting a Google Cloud Translation API Key

  1. Go to Google Cloud Console
  2. Create or select a project
  3. Enable the Cloud Translation API:
    • Navigate to APIs & Services → Library
    • Search for Cloud Translation API and click Enable
  4. Create an API key:
    • Navigate to APIs & Services → Credentials
    • Click + Create Credentials → API key
    • Copy the generated key
  5. (Recommended) Restrict the key to the Cloud Translation API only:
    • Click Edit API key → API restrictions and select Cloud Translation API

Paste the API key into the Subscription Key field in the Language Manager settings in Optimizely CMS.

Usage

Integrate the Languages gadget and effortlessly auto-translate all your content!

Auto-translate

Contributing

Feel free to submit a pull request if you identify any areas that could be enhanced or improved.

Feature Requests

If you have new ideas or feature requests that can make this tool even more useful for you or the community, please feel free to open a new issue at the following link.

https://github.com/adnanzameer/A2Z.Episerver.Labs.LanguageManager.GoogleTranslate/issues

Optimizely (Episerver) CMS 12 Support

For users still on Optimizely (Episerver) CMS 12, the package is available on: https://github.com/adnanzameer/A2Z.Episerver.Labs.LanguageManager.GoogleTranslate/tree/CMS12

Changelog

Changelog

About

An Optimizely CMS extension seamlessly integrating with EPiServer.Labs.LanguageManager for effortless content auto-translation powered by Google Cloud Translation.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages