i1n.ai
Svelte Integration

Svelte localization, the modern way.

JSON locale files in your SvelteKit project. Push, translate with AI, pull type-safe definitions. Lightweight and framework-native.

$ 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-native

Locale files sit in your SvelteKit project. i1n respects your file structure and generates compatible output.

TypeScript definitions

i1n pull generates i1n.d.ts. Full autocomplete in .svelte and .ts files.

Lightweight integration

No heavy runtime dependency. Just your JSON files and a type definition. Svelte's bundle stays small.

AI-powered translation

Translate to any of 182 languages in seconds. Brand voice and variable protection included.

Start localizing your Svelte app

Free Starter plan included. No credit card required.