Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 724 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 724 Bytes

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.