Lengoo.Connector.Optimizely 1.2.21

dotnet add package Lengoo.Connector.Optimizely --version 1.2.21                
NuGet\Install-Package Lengoo.Connector.Optimizely -Version 1.2.21                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Lengoo.Connector.Optimizely" Version="1.2.21" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Lengoo.Connector.Optimizely --version 1.2.21                
#r "nuget: Lengoo.Connector.Optimizely, 1.2.21"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Lengoo.Connector.Optimizely as a Cake Addin
#addin nuget:?package=Lengoo.Connector.Optimizely&version=1.2.21

// Install Lengoo.Connector.Optimizely as a Cake Tool
#tool nuget:?package=Lengoo.Connector.Optimizely&version=1.2.21                

Lengoo Optimizely12 Connector

Overview

This 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

Development environment

  1. .NET 6.0
  2. Visual studio 2022 / Visual studio code

Dependencies

  • EpiServer.CMS
  • Lengoo.net
  • Lengoo.SDK

First Running

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:

    1. environment (should have one of the values: Production or Sandbox)

    2. apiCredentials (should have credentials that was provide for Proffesional translations)

    3. 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%"
       	}
       }
      

Project Features and Functionality

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).

Translate Button

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.

Nuget Packaging

  1. To release a new package version you have to use "Actions" tab on gitHub
  2. In "Release Connector" menu - you have to run the workflow with new version of NugetPackage
  3. After that package will be generated and uploaded - in approximatelly 10 minutes it will appears in Nuget Services
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.2.21 572 8/21/2023
1.2.20 146 8/18/2023
1.2.19-beta004 151 8/8/2023
1.2.19-beta003 132 8/4/2023
1.2.19-beta002 145 8/1/2023
1.2.19-beta001 169 7/28/2023
1.2.18-beta001 201 7/12/2023
1.2.17 190 6/23/2023
1.2.16 157 6/23/2023
1.2.6 298 6/9/2023
1.2.5 162 5/31/2023
1.2.4 195 5/22/2023
1.2.2-beta001 141 7/12/2023
1.2.1 192 4/28/2023
1.1.4 234 4/19/2023
1.1.3 244 4/4/2023
1.1.2 228 4/4/2023
1.1.1 213 4/4/2023
1.1.0 245 3/31/2023
1.0.2 257 3/22/2023
1.0.1 288 2/28/2023
1.0.0 265 2/24/2023

This release fixes an issue with the deployment of the adding in new Optimizely 12 projects.

           Breaking changes:
           - The Lengoo specific configuration entry has been renamed from AppSettings to Lengoo. Please See the Readme
           file for more details.