You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Homepage, GetpathName includes Locale, so when the language conversion in Homepage is overrated Locale, for example http: // localhost: 3000/vi => Change locale => http: // localhost: 3000/vi/en
Verifications
I've verified that the problem I'm experiencing isn't covered in the docs.
This discussion was converted from issue #1914 on June 06, 2025 07:02.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
In Homepage, GetpathName includes Locale, so when the language conversion in Homepage is overrated Locale, for example http: // localhost: 3000/vi => Change locale => http: // localhost: 3000/vi/en
Verifications
Mandatory reproduction URL
app router
Reproduction description
Steps to reproduce:
Expected behaviour
usePathname() shound return real path, not constain locale,
Beta Was this translation helpful? Give feedback.
All reactions