[lang] instead [[lang]] with prefixDefaultLanguage:"always" #3375
Unanswered
d1d4r
asked this question in
[Paraglide] Svelte + SvelteKit
Replies: 1 comment 1 reply
-
I am working on a new sveltekit adapter this week. please wait for the new sveltekite adapter. if you can't wait, you can adopt paraglide-js (without an adapter) and write your own strategy, giving you full control https://inlang.com/m/gerre34r/library-inlang-paraglideJs/strategy |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hi there
i structured my routes like above, and i wanna make sure i'm on the right way
because i deploy my app on vercel i removed reroute in hook.ts file as documentation say
[](Issues on Vercel
)
and i'm little confused i used [lang] instead [[lang]] and in i18n.ts file i put prefixDefaultLanguage:"always",
when prefixDefaultLanguage is always the [lang] work perfectly for my use case ,
and the inlang doc say use depends("paraglide:lang") syntax for re-loading language data
i did not use it but when i change lang language specific data returned perfectly as i want
more info about my app : i'm working with firebase firestore as a BaaS each lang have specific collection for example DataKr,DataEn as so on
please help me or suggest me if you have any better idea or make me sure i'm on the right way
Screen.Recording.2025-01-27.at.3.04.23.PM.mov
Beta Was this translation helpful? Give feedback.
All reactions