Skip to main content

paraglide

Paraglide from Inlang is a compiler-based i18n library that emits tree-shakable message functions with small bundle sizes, no async waterfalls, full type-safety, and more.

Usage

npx sv add paraglide

What you get

  • Inlang project settings
  • paraglide Vite plugin
  • SvelteKit reroute and handle hooks
  • text-direction and lang attributes in app.html
  • updated .gitignore
  • an optional demo page showing how to use paraglide

Options

availableLanguageTags

The languages you’d like to support specified as IETF BCP 47 language tags.

npx sv add --paraglide=en,es

demo

Whether to generate an optional demo page showing how to use paraglide.

npx sv add --paraglide=demo

Edit this page on GitHub llms.txt

previous next