Nested tree and intls #8950
sharkstate
started this conversation in
General
Replies: 1 comment 1 reply
-
Use an optional parameter |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Setting up a site covering three countries and exploring options in SvelteKit to use a single domain.
Trying to achieve:
domain.com point to root page.svelte
domain.com/es point to the same page.svelte (with an intl flag=es)
domain.com/fr point to the same page.svelte (with an intl flag=fr)
same logic for domain.com/blog, domain.com/es/blog, domain.com/fr/blog
Is there a way in hooks or other to pickup the intl path (eg es and fr above) but in the folder structure bypass them so that all three points to same?
Apologies if not clear, and if Im missing something obvious. Want to avoid having to have duplicate trees and Im sure SvelteKit is too smart to have that.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions