Skip to content

v1.2.0

Compare
Choose a tag to compare
@javisperez javisperez released this 15 Jan 02:23
· 22 commits to master since this release

Add locales globally.

Now you can add a locales globally when loading the plugin with Vue.locales(locales)

Also, there are new events emitted:

  • language:init: a language is set the first time
  • language:changed: a language is changed
  • language:modified: a language is set, either is the first time or not
  • locales:loaded: a locale is loaded