Lilt.Episerver.LanguageManager
2.1.0
dotnet add package Lilt.Episerver.LanguageManager --version 2.1.0
NuGet\Install-Package Lilt.Episerver.LanguageManager -Version 2.1.0
<PackageReference Include="Lilt.Episerver.LanguageManager" Version="2.1.0" />
<PackageVersion Include="Lilt.Episerver.LanguageManager" Version="2.1.0" />
<PackageReference Include="Lilt.Episerver.LanguageManager" />
paket add Lilt.Episerver.LanguageManager --version 2.1.0
#r "nuget: Lilt.Episerver.LanguageManager, 2.1.0"
#:package Lilt.Episerver.LanguageManager@2.1.0
#addin nuget:?package=Lilt.Episerver.LanguageManager&version=2.1.0
#tool nuget:?package=Lilt.Episerver.LanguageManager&version=2.1.0
Lilt.Episerver.LanguageManager
Integrates the Lilt translation platform with Optimizely (EPiServer) CMS, providing a custom translation provider for the Language Manager.
Configuration
This library interacts with the internal Lilt Connector Plugin API. Ensure the host application (Optimizely) provides the necessary endpoint configuration in its appsettings.json:
{
"Lilt": {
"ApiBaseUrl": "https://connectors-admin.lilt.com",
"ApiBasePath": "/api/v1.0",
"TimeoutSeconds": 30,
"TranslationPollingTimeoutSeconds": 120,
"TranslationPollingIntervalSeconds": 2
}
}
Optimizely NuGet Package Source
This project utilizes specific Optimizely NuGet packages, which are hosted on Optimizely's private NuGet feed. The nuget.config file at the root of this repository is pre-configured to include this feed (https://nuget.optimizely.com/feed/packages.svc/). This means that when you run dotnet restore, the .NET SDK will automatically discover and download the necessary Optimizely packages without any additional manual configuration steps.
Lilt Connector Plugin API Endpoint
This library is designed to interact with the Lilt Connector Plugin API jobs workflow. It creates a job, uploads a source file, starts the job, polls for translation status, and downloads the completed translation to return a synchronous response to Optimizely.
Integration with Optimizely CMS
To integrate this provider into your Optimizely CMS solution:
Install the package:
dotnet add package Lilt.Episerver.LanguageManagerRegister Services: In the Optimizely project's
Program.cs(orStartup.cs) file, within the service configuration section, call theAddLiltProviderextension method:// Example for Program.cs (.NET 6+) builder.Services.AddLiltProvider();Configure in UI: Once deployed, navigate to the Language Manager section in the Optimizely admin interface. You should be able to select "Lilt" as a translation provider and configure its
ApiKeyproperty directly within the UI.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- EPiServer.CMS.UI (>= 12.34.0)
- EPiServer.Labs.LanguageManager (>= 5.5.2)
- Microsoft.Extensions.Http (>= 8.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 8.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.