Skip to content

SvelteKit translated route parameters. #434

Answered by ivanhofer
oskar-gmerek asked this question in Q&A
Discussion options

You must be logged in to vote

You can take a look at the localeTranslations object in /src/i18n/i18n-util.sync. There you have all translations as a regular JavaScript object. You can iterate over it and map it to the specific structure you need for the locale matcher function.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by oskar-gmerek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants