Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

re-add %lang% replacement in sveltekit adapter #364

Open
samuelstroschein opened this issue Feb 2, 2025 · 0 comments
Open

re-add %lang% replacement in sveltekit adapter #364

samuelstroschein opened this issue Feb 2, 2025 · 0 comments
Labels

Comments

@samuelstroschein
Copy link
Member

In the paraglide sveltekit beta, it seems that the logic to replace %paraglide.lang% with the current language in the app.html template is gone.

This logic : https://github.com/opral/monorepo/blob/inlang-v1/inlang/source-code/paraglide/paraglide-sveltekit/src/runtime/hooks/handle.server.ts#L162
SvelteKit documentation: https://svelte.dev/docs/kit/accessibility#The-lang-attribute

Originally posted by @mquandalle in #201

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant