Vuetranslate Versions Save

VueJS plugin for translations

v1.3.0

4 years ago

Text params support

There's a new .tWithParams / .$translate.text(text, params) method that supports dynamics keys to be passed to the text translation method.

Thanks to @glenngijsberts for the collaboration! 🤘

1.2.0

7 years ago

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

1.1.1

7 years ago

Emit an event when the language is changed.

This can be listened by the component with

this.$on('translate:language', lang => {
  ...
});

1.1.0

7 years ago

This fixes major bug when used with Laravel Elixir to make a production build (with the --production flag)

1.0.3

7 years ago

Vue 1 is now supported too

1.0.2

7 years ago

A bug in the example is now fixed, some pending 'translate' directive were added to the example.

1.0.1

7 years ago