JS SDK Overview

Read about JS SDK methods and events.

On this page

Events

It may appear the necessity to respond to different events in the life cycle of a multilingual page.

JS SDK allows you to subscribe on such events as LangShop initialization, creating switchers, switching languages and currencies.

Using this events you are able to integrate your features, which depends on LangShop initialization and working processes.

Methods

With the help of JS SDK public methods, you have an opportunity to influence on multilingual page behavior.

Just use language switch method from global object when you need to redirect visitor to another language or get languages list to render your own switcher. These and other useful methods are available for you.

Examples

This section contains code examples that will help to learn more about using JS SDK features.

Start your 3-day free trial today!

Try LangShop free for 3 days by entering your domain of Shopify store.