Vue plugin wrapping around messageformat
package to handle ICU format translations, the same manner as vue-i18n
handle theirs.
npm install @chronotruck/vue-icu
import VueICU from '@chronotruck/vue-icu'
Vue.use(VueICU)
this.$trans('app.titles.welcome', {
name: 'Jon Snow'
})
<template>
<div>
<Icu
path="app.titles.welcome"
:variables="{
name: 'Jon Snow'
}"
/>
</div>
</template>