dist/vuex-i18n.es.js
function REPLACE_LOCALE(state, payload) {
      // reduce the given translations to a single-depth tree
      var translations = flattenTranslations(payload.translations); // replace the translations entirely

      state.translations[payload.locale] = translations; // make sure to notify vue of changes (this might break with new vue versions)

      try {
        if (state.translations.__ob__) {
          state.translations.__ob__.dep.notify();
        }
      } catch (ex) {}
    }
function REPLACE_LOCALE(state, payload) {
      // reduce the given translations to a single-depth tree
      var translations = flattenTranslations(payload.translations); // replace the translations entirely

      state.translations[payload.locale] = translations; // make sure to notify vue of changes (this might break with new vue versions)

      try {
        if (state.translations.__ob__) {
          state.translations.__ob__.dep.notify();
        }
      } catch (ex) {}
    }
function REPLACE_LOCALE ( state , payload ) { // reduce the given translations to a single-depth tree var translations = flattenTranslations ( payload . translations ) ; // replace the translations entirely state . translations [ payload . locale ] = translations ; // make sure to notify vue of changes (this might break with new vue versions) try { if ( state . translations . __ob__ ) { state . translations . __ob__ . dep . notify ( ) ; } } catch ( ex ) { } }
replace existing locale information with new translations
replace existing locale information with new translations