Blazor.WebAssembly.DynamicCulture.Loader 2.0.0

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

// Install Blazor.WebAssembly.DynamicCulture.Loader as a Cake Tool
#tool nuget:?package=Blazor.WebAssembly.DynamicCulture.Loader&version=2.0.0

Blazor.WebAssembly.DynamicCulture.Loader

Nuget Nuget GitHub

Blazor WebAssembly only loads the resource assemblies during the initial app startup. So if you change the culture dynamically later, you do have to reload the page to get new resource assemblies. But this package adds the ability to load all localization satellite assemblies at once during startup and you do not need to refresh the page to get the new resouce assembly.

Getting Started

Usage Example

Blazor WASM

	var host = builder.Build();
	await host.LoadSatelliteCultureAssembliesCultureAsync(new[] { new CultureInfo("ru"), new CultureInfo("et") });
	await host.RunAsync();

or

    await builder.Build().RunWithSatelliteCultureAssembliesAsync(new[] { new CultureInfo("ru"), new CultureInfo("et") });

NB! Do not use it for Blazor ServerSide.

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 is compatible.  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 (1)

Showing the top 1 NuGet packages that depend on Blazor.WebAssembly.DynamicCulture.Loader:

Package Downloads
Blazor.WebAssembly.DynamicCulture

This package helps to add localization support for your Blazor. This mimics almost the same functionality as `.UseRequestLocalization` for Blazor ServerSide

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.0.0 1,757 11/15/2023
3.0.0-preview 120 8/30/2023
2.0.0 889 11/21/2022
1.1.0 394 11/15/2022
1.0.0 474 6/17/2022