# svelte-i18n

Internationalization library for Svelte that keeps the current locale, message dictionaries and formatters in Svelte stores.


Source: https://findsoftware.frbit.cloud/svelte-i18n/
Last reviewed: 2026-11-16
Listed since: 2026-11-16

## Record

### Links

- repository: https://github.com/kaisermann/svelte-i18n
- docs: https://github.com/kaisermann/svelte-i18n/blob/main/docs/Getting%20Started.md

### Identity

- status: active
- maintainer: Christian Kaisermann
- maintainerType: individual
- parent: unknown
- firstRelease: 2018
- hqCountry: unknown

### Kind

- category: library
- hosting: unknown
- language: javascript
- runtime: unknown
- runtimeMin: unknown
- basedOn: svelte

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: not applicable
- renderingModes: not applicable
- installMethod: npm

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 4
- latestReleaseDate: 2024-10-21

### Adoption

- githubStargazers: 1380
- packagistDownloads: not applicable
- npmWeeklyDownloads: 177366
- contributors: 25
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 586
- dependentPackages: 81

### Sources

- urls: https://api.github.com/repos/kaisermann/svelte-i18n (read 2026-11-16)
- urls: https://raw.githubusercontent.com/kaisermann/svelte-i18n/main/README.md (read 2026-11-16)
- maintainer: https://raw.githubusercontent.com/kaisermann/svelte-i18n/main/LICENSE (read 2026-11-16)
- maintainerType: https://raw.githubusercontent.com/kaisermann/svelte-i18n/main/LICENSE (read 2026-11-16)
- language: https://api.github.com/repos/kaisermann/svelte-i18n (read 2026-11-16)
- category: https://raw.githubusercontent.com/kaisermann/svelte-i18n/main/README.md (read 2026-11-16)
- basedOn: https://raw.githubusercontent.com/kaisermann/svelte-i18n/main/README.md (read 2026-11-16)
- installMethod: https://github.com/kaisermann/svelte-i18n/blob/main/docs/Getting%20Started.md (read 2026-11-16)
- license: https://api.github.com/repos/kaisermann/svelte-i18n (read 2026-11-16)
- currentMajor: https://registry.npmjs.org/svelte-i18n/latest (read 2026-11-16)
- latestReleaseDate: https://registry.npmjs.org/svelte-i18n (read 2026-11-16)
- firstRelease: https://registry.npmjs.org/svelte-i18n (read 2026-11-16)
- npmWeeklyDownloads: https://api.npmjs.org/downloads/range/2026-11-01:2026-11-07/svelte-i18n (read 2026-11-16)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/svelte-i18n (read 2026-11-16)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/svelte-i18n (read 2026-11-16)
- githubStargazers: https://api.github.com/repos/kaisermann/svelte-i18n (read 2026-11-16)
- contributors: https://api.github.com/repos/kaisermann/svelte-i18n/contributors?per_page=1 (read 2026-11-16)

## Notes

svelte-i18n localizes a Svelte app with stores. A locale store holds the current locale, a dictionary store holds the messages for each locale, and a formatter store turns a message id into text inside a component. A dictionary is a JSON object, added up front or loaded on demand, and the [Getting Started guide](https://github.com/kaisermann/svelte-i18n/blob/main/docs/Getting%20Started.md) covers both.

It is installed from npm into a Svelte project. Server rendering is covered by a separate SvelteKit guide, which sets the locale on the server from the request's language header.

## Worth knowing

The README opens with a notice that the library is being reworked, moving from a singleton to instances, and that the work will happen when the maintainer finds time and priority for it.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
