display locale language ( english instead of en ) with paragliding and svelteKit #3368
-
How can I change the URL structure of my web app from language codes (e.g., example.com/en, example.com/kr) to full language names (e.g., example.com/english, example.com/kurdish)? My previous web app does not support routes like example.com/en—it only supports routes with full language names (e.g., example.com/english). What is the best solution to handle this case while ensuring smooth transitions for users? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I think you are looking for the Translated Paths feature of the sveltekit adapter https://inlang.com/m/dxnzrydw/paraglide-sveltekit-i18n/localised-routing#translated-paths. FYI i am reworking the sveltekit adapter and will release a new beta with a new API for translated paths. If you can wait till next week, I recommend waiting for the new sveltekit adapter |
Beta Was this translation helpful? Give feedback.
Got it. Locale aliases. Created a feature request. Please follow the issue opral/inlang-paraglide-js#333. After paraglide js 2.0 (eta end of this month), a PR for the feature will be accepted