Skip to content

Commit

Permalink
Merge pull request #3047 from azezsan/patch-1
Browse files Browse the repository at this point in the history
Fix a typo in localised-routing.md
  • Loading branch information
samuelstroschein authored Aug 7, 2024
2 parents 514fe64 + 196e435 commit 287bbe4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ goto(i18n.resolveRoute("/about"))
Language switchers are tricky because we need to dynamically translate the current URL path, which is itself translated. We need to get the untranslated version of the current path & translate it into the target language.

<doc-accordion
heading="Wait, do I thought I don't need wrap my links with Paraglide-SvelteKit?"
heading="Wait, I thought I didn't need to wrap my links with Paraglide-SvelteKit?"
text="Language switchers are the one exception to this rule.">
</doc-accordion>

Expand Down Expand Up @@ -190,4 +190,4 @@ export async function load({ depends }) {
}
```

Paraglide-SvelteKit automatically calls `invalidate("paraglide:lang")` when the language changes.
Paraglide-SvelteKit automatically calls `invalidate("paraglide:lang")` when the language changes.

0 comments on commit 287bbe4

Please sign in to comment.