i18n
i18n copied to clipboard
How to use localePath() with route params?
Unfortunately the docs doesnt show how to use localePath() with route params. E.g.:
/products/[id]
How to do link to such a page? I tried localePath('products/' + id) with no success.