Replies: 1 comment 1 reply
-
This sounds more like a question so I will convert this to a discussion. Also, without seeing your configuration and function usage there's no way I can understand your question, can you provide either a minimal reproduction or your i18n config and a code snippet that triggers your issue? Please format your code snippets like so:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Environment
Reproduction
Describe the bug
locales [
{
code: 'en-us',
iso: 'en',
},
{
code: 'vi',
iso: 'vn',
},
]
defaultLocale en
routers /about
/home
If the current path is "en-us/about", obtaining the path of "home" through useLocalePath will result in "/home". How to get "en-us/home"
Additional context
No response
Logs
No response
Beta Was this translation helpful? Give feedback.
All reactions