dist/vue-i18n-gettext.esm.js
function (newLocale) {
        if (config.storageMethod !== 'custom') {
          switchMethods[config.storageMethod].save(config.storageKey, newLocale, savedLocale, config.cookieExpirationInDays);
        } else {
          config.storageFunctions.save(config.storageKey, newLocale, savedLocale);
        }
      }
function (newLocale) {
        if (config.storageMethod !== 'custom') {
          switchMethods[config.storageMethod].save(config.storageKey, newLocale, savedLocale, config.cookieExpirationInDays);
        } else {
          config.storageFunctions.save(config.storageKey, newLocale, savedLocale);
        }
      }
function ( newLocale ) { if ( config . storageMethod !== 'custom' ) { switchMethods [ config . storageMethod ] . save ( config . storageKey , newLocale , savedLocale , config . cookieExpirationInDays ) ; } else { config . storageFunctions . save ( config . storageKey , newLocale , savedLocale ) ; } }
Helper for saving the new locale.
Helper for saving the new locale .