BlazoredLocalisation 0.1.0

A library to provide localisation in client-side Blazor applications

The owner has unlisted this package. This could mean that the package is deprecated or shouldn't be used anymore.
Install-Package BlazoredLocalisation -Version 0.1.0
dotnet add package BlazoredLocalisation --version 0.1.0
<PackageReference Include="BlazoredLocalisation" Version="0.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BlazoredLocalisation --version 0.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

BlazoredLocalisation

A library to provide localisation in client-side Blazor applications

Installing

You can install from Nuget using the following command:

Install-Package BlazoredLocalisation

Or via the Visual Studio package manger.

Setup

You just need to add app.UseBrowserLocalisation(); in your startup.cs file as per the example below.

public void Configure(IBlazorApplicationBuilder app)
{
    app.UseBrowserLocalisation();
    app.AddComponent<App>("app");
}

This will set the CultureInfo.CurrentCulture and CultureInfo.CurrentUICulture for your Blazor application based on the language settings of the clients browser.

BlazoredLocalisation

A library to provide localisation in client-side Blazor applications

Installing

You can install from Nuget using the following command:

Install-Package BlazoredLocalisation

Or via the Visual Studio package manger.

Setup

You just need to add app.UseBrowserLocalisation(); in your startup.cs file as per the example below.

public void Configure(IBlazorApplicationBuilder app)
{
    app.UseBrowserLocalisation();
    app.AddComponent<App>("app");
}

This will set the CultureInfo.CurrentCulture and CultureInfo.CurrentUICulture for your Blazor application based on the language settings of the clients browser.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated