function replaceLocale(context, payload) {
      context.commit({
        type: 'REPLACE_LOCALE',
        locale: payload.locale,
        translations: payload.translations
      });
    }
function replaceLocale(context, payload) {
      context.commit({
        type: 'REPLACE_LOCALE',
        locale: payload.locale,
        translations: payload.translations
      });
    }
function replaceLocale ( context , payload ) { context . commit ( { type : 'REPLACE_LOCALE' , locale : payload . locale , translations : payload . translations } ) ; }
replace locale information
replace locale information