Homekolab.org
Diffusion kolab 18a7cd7dbd77

Localization with vue-i18n

Authored by machniak on May 7 2021, 11:17 AM.

Description

Localization with vue-i18n

Summary:
vue-i18n is the most robust and most used solution. It adds ~30KB to the minified js file size. Quite a lot, but all other solutions I saw look very weak in comparison to vue-i18n.

  • UI (vue) localization engine
  • Theme files localization engine
  • Language selector in UI
  • Passing selected language to API calls, and setting the laravel locale accordingly
  • Browser (preferred) language auto-detection
  • Localization of theme-specific menu and faq items

Reviewers: #hkccp_developers, mollekopf

Reviewed By: #hkccp_developers, mollekopf

Subscribers: #hkccp_developers

Differential Revision: https://git.kolab.org/D2395

Details

Committed
machniakMay 7 2021, 11:17 AM
Pushed
machniakMay 7 2021, 12:13 PM
Reviewer
Restricted Project
Differential Revision
D2395: Localization with vue-i18n
Parents
rKe11caabd056a: [Admin] Distribution lists UI
Branches
Unknown
Tags
Unknown
Build Status
Buildable 34099