i1n.ai
Svelte Integration

Localize your Svelte application

Push JSON locale files from your Svelte or SvelteKit project, translate with AI across 182 languages, and pull type-safe definitions. SSR and static rendering supported.

$ npx i1n init
src/routes/+page.svelte
<!-- src/routes/+page.svelte -->
<script lang="ts">
  import { t } from 'i1n'
</script>

<h1>{t('home.title')}</h1>
<p>{t('home.description')}</p>
<!-- ↑ Autocomplete from i1n.d.ts -->

Why Svelte teams use i1n

SvelteKit SSR compatible

i1n locale files work with SvelteKit's load functions and server-side rendering. Translations are available in both +page.svelte and +page.server.ts.

Type-safe translation keys

Auto-generated i1n.d.ts gives your Svelte components full autocomplete for every translation key.

AI-powered translation

One CLI command translates your entire Svelte app to any language. Variable masking protects Svelte expressions.

CLI-first workflow

Push, translate, and pull from the terminal. Fits naturally into SvelteKit and CI/CD pipelines.

Start localizing your Svelte app

Free forever. No credit card required.