Skip to content

Commit

Permalink
Merge pull request #3018 from opral/paraglide-sveltekit-landing-docs
Browse files Browse the repository at this point in the history
Update Paraglide docs
  • Loading branch information
LorisSigrist authored Jul 12, 2024
2 parents bcb4bd0 + ecd492c commit 4d6d751
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Messages are fully typesafe, even with parameters, and share the same API both o

Paraglide-Next offers Localised routing with translated pathnames, without requiring a `[locale]` parameter in your routes.

[-> Get started here](https://inlang.com/m/osslbuzt/paraglide-next-i18n/get-started)
[ Get started here](https://inlang.com/m/osslbuzt/paraglide-next-i18n/get-started)

# People Love It

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,27 @@
<doc-feature text-color="#0F172A" color="#E1EFF7" title="No route Param needed" image="https://cdn.jsdelivr.net/gh/opral/monorepo@latest/inlang/source-code/paraglide/paraglide-sveltekit/assets/no-param.png"></doc-feature>
</doc-features>

## [Learn how to get Started](/m/dxnzrydw/paraglide-sveltekit-i18n/getting-started)
`@inlang/paraglide-sveltekit` is the easiest way to internationalize your SvelteKit Project. It handles string translations, i18n routing and more!

Thanks to Paraglide's Treeshakeable messages only messages that are _used_ on the _current page_ are part of the JS bundle. This results in the smallest size. They're also fully typesafe.

Paraglide-SvelteKit offers Localised routing with translated pathnames, without requiring a `[locale]` parameter in your routes.

Links are automatically translated to the current language. Write `<a href="/about"` and it renders as `<a href="/fr/a-propos"` in French.

[➡ Get started here](/m/dxnzrydw/paraglide-sveltekit-i18n/getting-started)

# People Love It

<doc-comments>
<doc-comment text="Just tried Paraglide JS from @inlangHQ. This is how i18n should be done! Totally new level of DX for both implementation and managing translations! Superb support for SvelteKit as well ⭐" author="Patrik Engborg" icon="mdi:twitter" data-source="https://twitter.com/patrikengborg/status/1747260930873053674"></doc-comment>
<doc-comment text="Awesome library 🙂 Thanks so much! 1) The docs were simple and straight forward 2) Everything just worked.. no headaches" author="Dimitry" icon="mdi:discord" data-source="https://discord.com/channels/897438559458430986/1083724234142011392/1225658097016766574"></doc-comment>
<doc-comment text="Thank you for that huge work you have done and still doing!" author="ZerdoX-x" icon="mdi:github"></doc-comment>
</doc-comments>


## Playground

Play around with it on [StackBlitz](https://stackblitz.com/~/github.com/lorissigrist/paraglide-sveltekit-example)

[➡ Get started here](/m/dxnzrydw/paraglide-sveltekit-i18n/getting-started)

0 comments on commit 4d6d751

Please sign in to comment.