Plugin for Optimizely for multilanguage content translation
License
—
Deps
4
Install Size
—
Vulns
✓ 0
Published
Aug 21, 2023
$ dotnet add package Lengoo.Connector.OptimizelyThis solution contains OptimizelyConnector and TestSite projects. Test Site - runs the CMS Demonstration Template project from Optimizely. Connector - provides connection between Optimizely CMS and Lengoo Api services.
More details about Optimizely project you may find at: https://docs.developers.optimizely.com/content-management-system/docs/getting-started
Before running the project, you have to check:
TestSite was set as Startup project
If the credentials was configured in TestSite project, appsettings.json file.
Lengoo section provides next configs:
environment (should have one of the values: Production or Sandbox)
apiCredentials (should have credentials that was provide for Proffesional translations)
apiMachineTranslationCredentials (should have credentials that was provide for Machine translations)
"Lengoo": {
"environment": "Sandbox",
"apiCredentials": {
"clientId": "%CLIENT_ID%",
"token": "%CLIENT_SECRET%"
},
"apiMachineTranslationCredentials": {
"clientId": "%MT_CLIENT_ID%",
"token": "%MT_CLIENT_SECRET%"
}
}
OptimizelyConnector provides functionality of 2 types of translations: Proffesional (human) and Machine translations for CMS project that are using Optimizely12.
To test how it works, you have to click on translate button on top of the page (1), and complete the translation request wizard (2).
After that your Translation job was created - you have to check if this job appears on Profesional (3) or Machine (4) Translations JobList. When the job will be tranlsated you will get an notification that status was changed (5).
In case that Import Translation results automatically checkbox was checked in translation request wizard (2) - translation result will be applied to selected languages.
In case that Translation Job status is not updated, please ensure that Lengoo Scheduled Jobs was configured in Admin panel.