Skip to content

Releases: javisperez/vuetranslate

v1.3.0

02 Jun 14:47
Compare
Choose a tag to compare

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! 🤘

v1.2.0

15 Jan 02:23
Compare
Choose a tag to compare

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

v1.1.1

19 Sep 21:52
Compare
Choose a tag to compare

Emit an event when the language is changed.

This can be listened by the component with

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

v1.1.0

16 Sep 16:19
Compare
Choose a tag to compare

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

v1.0.3

29 Aug 14:21
Compare
Choose a tag to compare

Vue 1 is now supported too

v1.0.2

24 Aug 18:29
Compare
Choose a tag to compare

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

v1.0.1

24 Aug 18:12
Compare
Choose a tag to compare
Added example files