i18n(translation: Translation): { t: Translate; }
Creates a new instance of an internationalization function with the provided language's translations
translation: Translation
{ t: Translate; }
Creates a simple translation object that can use Signals to update the translation when a variable changes.
i18n(translation: Translation): { t: Translate; }
Creates a new instance of an internationalization function with the provided language's translations
translation: Translation
{ t: Translate; }
Add Package
deno add jsr:@signal/i18n
Import symbol
import { i18n } from "@signal/i18n";
---- OR ----
Import directly with a jsr specifier
import { i18n } from "jsr:@signal/i18n";
Add Package
npx jsr add @signal/i18n
Import symbol
import { i18n } from "@signal/i18n";
Add Package
yarn dlx jsr add @signal/i18n
Import symbol
import { i18n } from "@signal/i18n";
Add Package
pnpm dlx jsr add @signal/i18n
Import symbol
import { i18n } from "@signal/i18n";
Add Package
bunx jsr add @signal/i18n
Import symbol
import { i18n } from "@signal/i18n";