Arebis.Core.Services.Translation 8.0.7

dotnet add package Arebis.Core.Services.Translation --version 8.0.7
                    
NuGet\Install-Package Arebis.Core.Services.Translation -Version 8.0.7
                    
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="Arebis.Core.Services.Translation" Version="8.0.7" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Arebis.Core.Services.Translation" Version="8.0.7" />
                    
Directory.Packages.props
<PackageReference Include="Arebis.Core.Services.Translation" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Arebis.Core.Services.Translation --version 8.0.7
                    
#r "nuget: Arebis.Core.Services.Translation, 8.0.7"
                    
#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.
#:package Arebis.Core.Services.Translation@8.0.7
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Arebis.Core.Services.Translation&version=8.0.7
                    
Install as a Cake Addin
#tool nuget:?package=Arebis.Core.Services.Translation&version=8.0.7
                    
Install as a Cake Tool

Arebis.Core.Services.Translation

.NET Core translation service implementations.

Translation Services

This package contains the following .NET Core translation service implementations:

BingTranslationService

Register the Bing translation service with the following code:

builder.Services.AddTransient<ITranslationService, BingTranslationService>();

In addition the API key, or subscription key, must be made available, together with the region, ideally in User Secrets. For instance (non-operational example key):

"BingApi": {
  "SubscriptionKey": "0a123bc45678d90efa12345bc6789d0e",
  "Region": "eastus"
}

For more information, see: http://api.microsofttranslator.com.

DeepLTranslationService

Register the DeepL translation service with the following code:

builder.Services.AddTransient<ITranslationService, DeepLTranslationService>();

An API key must be made available, preferably via User Secrets, as in here (non-operational example key):

"DeepLApi": {
  "ApiKey": "DeepL-Auth-Key ab12345c-678d-90e1-fa23-b456cd7890ef:fx"
}

Note that the API key should start with "DeepL-Auth-Key " and typically ends with ":fx".

You will also have configure the TranslationServiceUrl as this is different depending on the service type. This configuration is typically added in appsettings.json:

"DeepLApi": {
  "TranslationServiceUrl": "https://api-free.deepl.com/v2/translate",
}

For more information, see: https://www.deepl.com/en/docs-api.

GoogleTranslationService

Setup an account and access to the Google Translate service here if you haven't done so yet.

Register the Google translation service with the following code:

builder.Services.AddTransient<ITranslationService, GoogleTranslationService>();

An API key must be made available, preferably via User Secrets, as in here (non-operational example key):

"GoogleApi": {
  "ApiKey": "AbcDEfGhij01KLmNop23QrS-t4U56Vw7XYz8a90"
}

For more information, see: https://cloud.google.com/translate.

Product 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. 
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
8.0.7 293 5/21/2025
8.0.6 228 4/30/2025
8.0.5 278 1/16/2025
8.0.4 105 1/16/2025
8.0.3 147 11/4/2024
8.0.2 150 9/10/2024
8.0.1 130 9/10/2024
8.0.0 138 9/9/2024