Wocart

@wocart/storefront v3.1.0


@wocart/storefront / index / StorefrontLanguage

Interface: StorefrontLanguage

A language the store serves (StoreConfig.locales).

Properties

code

code: string

BCP 47 code, e.g. ar, fr.


direction

direction: "rtl" | "ltr"

<html dir> for this language.


nativeName

nativeName: string

The language's name in itself, for a language switcher.