Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
m-dressler/signalCreates a simple translation object that can use Signals to update the translation when a variable changes.
This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
JSR Score
100%
Published
4 months ago (0.0.0)
f
i18n
Creates a new instance of an internationalization function with the provided language's translations
T
Translate
The translate function returned by i18n
T
Translation
A map of keys and their (Signal) values in that language
T
Translations
A mapping from language to translation map
T
Variables
Variables to be replaced in the translated value which can be specified using {}, e.g.: "Hello {name}!"