Netor.Translate 1.0.0

dotnet add package Netor.Translate --version 1.0.0                
NuGet\Install-Package Netor.Translate -Version 1.0.0                
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="Netor.Translate" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Netor.Translate --version 1.0.0                
#r "nuget: Netor.Translate, 1.0.0"                
#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 Netor.Translate as a Cake Addin
#addin nuget:?package=Netor.Translate&version=1.0.0

// Install Netor.Translate as a Cake Tool
#tool nuget:?package=Netor.Translate&version=1.0.0                

using Netor.Translate; //添加服务 builder.Services .AddTranslate(options => { }) .UseAliyun(option => { option.AccessKey = ""; option.Secret = ""; option.RegionId = "cn-hangzhou"; option.Scene = "general"; }) .UseSqlServerCache(options => { options.ConnectionString = builder.Configuration.GetConnectionString("DefaultConnection")!; }); #访问网站或者接口 通过url 或者header 或者cookies 进行语言切换 默认网站语音为简体中文,世界最特殊的语言,分析简单 如果默认语言需要更换,那么需要配置options.Regex 中的正则表达式

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 (2)

Showing the top 2 NuGet packages that depend on Netor.Translate:

Package Downloads
Netor.Translate.SqlServerCache

翻译服务缓存中间件 SqlServerCache 实现 builder.Services .AddTranslate(options => { }) .UseAliyun(option => { option.AccessKey = ""; option.Secret = ""; option.RegionId = "cn-hangzhou"; option.Scene = "general"; }) .UseSqlServerCache(options => { options.ConnectionString = builder.Configuration.GetConnectionString("DefaultConnection")!; })

Netor.Translate.Aliyun

翻译服务中间件 aliyun 实现 builder.Services .AddTranslate(options => { }) .UseAliyun(option => { option.AccessKey = ""; option.Secret = ""; option.RegionId = "cn-hangzhou"; option.Scene = "general"; })

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 148 10/31/2024