dkfbasel / vuex-i18n

Localization plugin for vue.js 2.0 using vuex as store
MIT License
665 stars 56 forks source link

added defaultValue into onTranslationNotFound method #61

Closed Tazer closed 6 years ago

Tazer commented 6 years ago

we have some usecases where we want to check if there is a default value , when a key doesn't exist and take special action on that. So would be nice to just pass the defaultValue into the onTranslationNotFound func