Table of Contents

Enum TlumachCulturePersistence

Namespace
Tlumach.Blazor
Assembly
Tlumach.Blazor.dll

Specifies where TlumachCultureState stores the culture that the user has chosen.

[Flags]
public enum TlumachCulturePersistence

Fields

The culture is stored in the ASP.NET Core culture cookie by the endpoint that MapTlumachCultureEndpoint maps, and a WebAssembly client of a Blazor Web App reads it back from the lang attribute of the html element.

LocalStorage = 2

The culture is stored in the local storage of the browser.

None = 0

The culture is not stored.