Skip to content

How to do localized pathnames with next-intl? #2485

Answered by stepan662
empz asked this question in Q&A
Discussion options

You must be logged in to vote

Hey, you should be able to add the defineRouting as described in the docs.
If the question is how to store localized paths in tolgee platform, I'd put them into a separated namespace, export them into a static file and then import them one by one into the routing.ts (I think there is no need for Tolgee SDK). You should be able to automate this with @tolgee/cli.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by empz
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