Skip to main content

Built and signed on GitHub Actions

A simple and flexible internationalization (i18n) plugin for Deno's Fresh framework.

This package works with Deno, BrowsersIt is unknown whether this package works with Cloudflare Workers, Node.js, Bun
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
This package works with Browsers
JSR Score
100%
Published
3 months ago (1.2.0)
f
createTranslator

Retrieves a translation value from a nested translation object.

f
i18nPlugin

Middleware function to initialize internationalization (i18n) support. This plugin detects the user's language based on the URL and the Accept-Language header, loads the necessary translation files dynamically, and saves the translations, locale, and base path as global signals for both client-side and server-side access.

I
TranslationState

Represents the state of translations, the base path, and locale within the app.