sveltekit-i18n / lib

Internationalization library built for SvelteKit.
MIT License
491 stars 32 forks source link

Disabling localization for some routes #146

Closed ghost closed 1 year ago

ghost commented 1 year ago

My configuration is the same as in the locale-router example.

I am having problems trying to ignore some routes, no matter what I do the lib always adds the locale to the route and does a redirect.

I was wondering if there is a simple way to prevent a pathname and all the subdirectories from being localized, for example /blog/*.