@nuxtjs/i18n. we will be deprecated in the future.routeBaseName()string | Route, default: current route)stringReturns base name of the passed route (uses the current route by default). The base name of a route is its name without a locale suffix or other metadata added by @nuxtjs/i18n.
switchLocalePath()Locale)stringReturns path of the current route for specified locale.
See also Link localizing
localePath()string | Location)Locale, default: current locale)stringReturns localized path for the passed route. Uses the current locale by default.
See also Link localizing
localeRoute()string | Location)Locale, default: current locale)Route | undefinedReturns localized route for the passed route. Uses the current locale by default.
See also Link localizing
localeHead()I18nHeadOptions)I18nHeadMetaInfoThe options object accepts these optional properties:
dir (type: boolean) - Adds a dir attribute to the HTML element. Default: falseseo (type: boolean | SeoAttributesOptions) - Adds various SEO attributes. Default: falseSee also SEO