LocaleLink #

A language the visitor can switch to, with the link to its version of the current page.

Fields #

localeIndexstring

Key of the locale in locales.

labelstring

Name of the language.

linkstring

Link to this locale's version of the current page.

langoptionalstring

Language code of the locale.

diroptionalLocaleDirection

Writing direction of the locale.

Full type signature
TypeScript
interface LocaleLink {
  localeIndex: string
  label: string
  link: string
  lang?: string
  dir?: LocaleDirection
}

Edit this page

Comments