ygorneves10 / locale-switcher

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

📢 Use this project, contribute to it or open issues to help evolve it using Store Discussion.

All Contributors

Locale Switcher

The VTEX LocaleSwitcher is a VTEX component capable of changing the current language of the store.

img-locale-switcher

Configuration

  1. Import the locale-switcher's app to your theme's dependencies in the manifest.json, for example:
"dependencies": {
  "vtex.locale-switcher": "0.x"
}
  1. Add the locale-switcher block to your header. For example:
"header-row#desktop": {
  "children": [
    // (...)
    "locale-switcher",
    "login",
    "minicart.v2"
  ]
},

Customization

In order to apply CSS customizations in this and other blocks, follow the instructions given in the recipe on Using CSS Handles for store customization.

CSS Handles
button
buttonText
container
list
listElement
localeIdText
relativeContainer

Contributors ✨

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!

About


Languages

Language:TypeScript 100.0%