aidenybai / million

Optimize React performance and make your React 70% faster in minutes, not months.
https://million.dev
MIT License
15.89k stars 558 forks source link

Link issue with i18n on the Million website #1001

Closed yafkari closed 2 months ago

yafkari commented 3 months ago

What version of million are you using?

x

Are you using an SSR adapter? If so, which one?

x

What package manager are you using?

x

What operating system are you using?

x

What browser are you using?

x

Describe the Bug

If you are on the "https://million.dev/fr-FR" page and you click on the link to "Lint" in the navbar, it will try to access "https://million.dev/fr-FR/lint" which does not exists instead to fallback to "https://million.dev/lint"

What's the expected result?

If the homepage is localized but the page we're trying to access is not, it should redirect to the English link or always target the default link and redirect to the localized version later on.

Link to Minimal Reproducible Example

x

Participation

github-actions[bot] commented 3 months ago

Thanks for opening this issue! A maintainer will review it soon.

tobySolutions commented 3 months ago

Thank you for this @yafkari, we're currently taking a look at this!

github-actions[bot] commented 3 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days.