Skip to content

update vue i18n + lazy loading of languages#2504

Open
Kurami32 wants to merge 6 commits into
dev/v1.4.3from
update-vue-i18n
Open

update vue i18n + lazy loading of languages#2504
Kurami32 wants to merge 6 commits into
dev/v1.4.3from
update-vue-i18n

Conversation

@Kurami32
Copy link
Copy Markdown
Collaborator

Updated vue-i18n package to v11. All the codebase was already compatible since we only use $t :)

I also added lazy loading for the languages.
Before, all the languages were being loaded at once when opening the page (downloading all at once at initial page load), even if we never switch/use another language. So this will help a bit to load the page more faster.

The language files are now as separate lazy chunks that will be downloaded only when requested (eg: switching languages). Except for english that is always loaded since is the master language.

@codacy-production
Copy link
Copy Markdown
Contributor

codacy-production Bot commented May 27, 2026

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 33 complexity · 0 duplication

Metric Results
Complexity 33
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@Kurami32

This comment has been minimized.

@Kurami32 Kurami32 marked this pull request as draft May 27, 2026 23:18
@Kurami32 Kurami32 marked this pull request as ready for review May 28, 2026 00:35
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

Successfully merging this pull request may close these issues.

1 participant