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.
The command below will install the addon in your Optimizely project.
dotnet add package A2Z.Episerver.Labs.LanguageManager.GoogleTranslate
To enable LanguageManager to utilize the Google Translate Provider, configure it as follows
All you need is a Google Cloud Translation API key (entered as the Subscription Key). Follow the steps below to create one.
- Go to Google Cloud Console
- Create or select a project
- Enable the Cloud Translation API:
- Navigate to APIs & Services → Library
- Search for Cloud Translation API and click Enable
- Create an API key:
- Navigate to APIs & Services → Credentials
- Click + Create Credentials → API key
- Copy the generated key
- (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.
Integrate the Languages gadget and effortlessly auto-translate all your content!
Feel free to submit a pull request if you identify any areas that could be enhanced or improved.
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
For users still on Optimizely (Episerver) CMS 12, the package is available on: https://github.com/adnanzameer/A2Z.Episerver.Labs.LanguageManager.GoogleTranslate/tree/CMS12

