Browse documentation

setStoreStrategy

Configures how the translation module reads and persists the active language.

Table of contents

Category

Value

Import

js
import { setStoreStrategy } from "valyrian.js/translate";

Public signature

ts
(strategy: { get: () => string; set: (lang: string) => void; }): void

Parameters

ts
strategy: { get: () => string; set: (lang: string) => void; }

Result

ts
void