X.Abp.Localization.CultureMap 8.3.1-alpha

This is a prerelease version of X.Abp.Localization.CultureMap.
There is a newer version of this package available.
See the version list below for details.
dotnet add package X.Abp.Localization.CultureMap --version 8.3.1-alpha                
NuGet\Install-Package X.Abp.Localization.CultureMap -Version 8.3.1-alpha                
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="X.Abp.Localization.CultureMap" Version="8.3.1-alpha" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add X.Abp.Localization.CultureMap --version 8.3.1-alpha                
#r "nuget: X.Abp.Localization.CultureMap, 8.3.1-alpha"                
#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 X.Abp.Localization.CultureMap as a Cake Addin
#addin nuget:?package=X.Abp.Localization.CultureMap&version=8.3.1-alpha&prerelease

// Install X.Abp.Localization.CultureMap as a Cake Tool
#tool nuget:?package=X.Abp.Localization.CultureMap&version=8.3.1-alpha&prerelease                

abp-localization

Localization module for ABP framework.

ģ��˵��

������ڶ��ָ�ʽ�������Ա��ػ�����

See: https://github.com/maliming/Owl.Abp.CultureMap

���ʹ��


    [DependsOn(
        typeof(AbpLocalizationCultureMapModule))]
    public class YouProjectModule : AbpModule
    {
        public override void ConfigureServices(ServiceConfigurationContext context)
        {
            Configure<AbpLocalizationCultureMapOptions>(options =>
            {
                var zhHantCultureMapInfo = new CultureMapInfo
                {
                    TargetCulture = "zh-Hant",
                    SourceCultures = new string[] { "zh_tw", "zh-TW", "zh_hk", "zh-HK" }
                };

                options.CulturesMaps.Add(zhHantCultureMapInfo);
                options.UiCulturesMaps.Add(zhHantCultureMapInfo);
            });
        }

        public override void OnApplicationInitialization(ApplicationInitializationContext context)
        {
            IApplicationBuilder app = context.GetApplicationBuilder();

            // app.UseAbpRequestLocalization();
            app.UseMapRequestLocalization();
        }
    }

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. 
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.3.3 103 11/12/2024
8.3.2 99 10/25/2024
8.3.1 134 10/18/2024
8.3.1-beta 96 9/28/2024
8.3.1-alpha 74 9/28/2024
8.3.0-beta 69 9/25/2024

8.3.1-alpha