Skip to content

javiertury/modular-vue-i18n-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modular vue-i18n example

Find a demo here.

Open developer tools (firefox: Ctrl + Shift + i) and go to network tab.

  1. On page load
    • The only language module requested should be base for the en locale.
  2. Click on houses.
    • It should have triggered a request for modules/houses/lang/en
  3. Change language to es.
    • It should have triggered a request for lang/es and for modules/houses/lang/es, since base and houses languages module are both active
  4. Click on cars.
    • It should have triggered a request for modules/cars/lang/en and for modules/cars/lang/es, since your locale is es but your fallbackLocale is en.

About

Modular vue i18n example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published