Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Our website has 13 languages and many pages. I18in generates a lot of routes, which greatly affects the js running speed of the website #1363

Closed
yaowei520 opened this issue Dec 14, 2021 · 2 comments

Comments

@yaowei520
Copy link

Our website has 13 languages and many pages. I18in generates a lot of routes, which greatly affects the js running speed of the website
image

@ccaa7530
Copy link

ccaa7530 commented Dec 15, 2021

I don't have this problem, maybe you can try lazy translation.
See https://i18n.nuxtjs.org/lazy-load-translations

screenshots 截圖 2021-12-15 下午5 10 35 截圖 2021-12-15 下午5 14 56

@rchl
Copy link
Collaborator

rchl commented Dec 15, 2021

Large number of routes is known to cause performance issues. See #690.

@rchl rchl closed this as completed Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants