LocaleSwitcher

Description

LocaleSwitcher is a VTEX component that changes the language of the store. This component can be imported and used by any VTEX app.

📢 Disclaimer: Don't fork this project; use, contribute, or open issue with your feature request.

Table of Contents

Usage

You should follow the usage instruction in the main README.

Then, add locale-switcher block into your app theme, as we do in our Header app

Blocks API

When implementing this component as a block, various inner blocks may be available. The following interface lists the available blocks within LocaleSwitcher and describes if they are required or optional.

1
2
3
  "locale-switcher": {
    "component": "LocaleSwitcher"
  }

For now this block does not have any required or optional blocks.

Styles API

You should follow the Styles API instruction in the main README of store-components.