Browse documentation

t

Resolves a translated message by path and replaces the provided parameters.

Table of contents

Category

Value

Import

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

Public signature

ts
(path: string, params?: Record<string, string>): string

Parameters

ts
path: string, params?: Record<string, string>

Result

ts
string