Giter VIP home page Giter VIP logo

locale-switcher's Introduction

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

All Contributors

Locale Switcher

The Locale Switcher app provides a component capable of changing the current language of your store.

img-locale-switcher

Configuration

  1. Add the Locale Switcher app to your theme's dependencies in the manifest.json file:
 "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"
  ]
},
  1. Open a ticket to our support team in order to adjust your store's binding with the desired languages.

⚠️ Caution: The third step is mandatory. If no ticket is opened requiring the desired languages, the selection list may not appear on the Locale Switcher component.

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:

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

locale-switcher's People

Contributors

victorhmp avatar kaisermann avatar guifromrio avatar guerreirobeatriz avatar vwraposo avatar lbebber avatar thalytafabrine avatar matheusps avatar dependabot[bot] avatar pedrohenriqueoliveira avatar klynger avatar lucasecdb avatar daniserejo avatar klzns avatar igorbrasileiro avatar camilavcoutinho avatar gris avatar juliocesardeveloper avatar vtex-io-ci-cd[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.