# kaisermann/svelte-i18n

Internationalization library for Svelte

Repository: https://github.com/kaisermann/svelte-i18n
Canonical: https://ross.abutalabs.com/products/svelte-i18n
Language: TypeScript
License: MIT
License Family: permissive
Topics: svelte, i18n, internationalization, dictionary, hacktoberfest
Last push: 2024-10-21T08:20:04+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2961, "days_push": 681, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1377, forks 88 (observed 2026-08-28T04:04:33.455937+00:00)

## What it is
svelte-i18n is an internationalization library for Svelte apps that uses Svelte stores to track the current locale, message dictionaries, and message formatting. It provides reactive helpers like the `_` format function for localizing text directly in Svelte components.

## Use cases
- translate a svelte app into multiple languages
- switch locales reactively in a svelte application
- load message dictionaries from  files
- format localized messages with defaults in svelte components
- set up i18n in a sveltekit project

## When to choose
- you are building a Svelte or SvelteKit app and need lightweight, reactive i18n
- you want store-based locale and dictionary management that fits Svelte idioms
- you need simple message formatting with nested JSON dictionaries

## When to avoid
- you need a framework-agnostic i18n solution for non-Svelte projects
- you need instance-based (non-singleton) i18n configuration or heavy multi-instance support
- your project requires ICU message format features beyond what the library supports

## Facets
- artifact type: library
- maturity: maintenance
- function: internationalization, templating, state-management
- domain: web-development, frontend
- platform: browser
- tags: svelte, i18n, localization, translation, message-formatting, stores, nodejs, web-server

## Member repositories
- kaisermann/svelte-i18n (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:33.455937+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:40:26.691135+00:00, confidence not recorded.
  - readme: https://github.com/kaisermann/svelte-i18n (fetched 2026-08-28T04:04:33.455937+00:00, sha 13dec21c7676)
  - registry_npm: https://registry.npmjs.org/svelte-i18n (fetched 2026-08-29T11:56:50.023968+00:00, sha e5ef26bc56be)
- Data as of 2026-08-30T08:39:29.467469+00:00.
