code: function (_changeLocale) {
          // If the saved locale is equal to the default locale make sure that the URL format is correct.
          if (to.meta.localized && !config.defaultLocaleInRoutes) {
            var _next = defineNext(to.meta.seedRoute.name);
  
            if (_changeLocale) {
              router.go(_next);
            } else {
              next(_next);
            }
          } else if (!to.meta.localized && config.defaultLocaleInRoutes) {
            var _next$1 = defineNext('__locale:' + to.meta.i18nId);
  
            if (_changeLocale) {
              router.go(_next$1);
            } else {
              next(_next$1);
            }
          } else if (_changeLocale) {
            router.go(defineNext());
          }
        }
docs: Handle the default locale.