Language

The parameter "language" allows configuring the displaying locales on the application

šŸ‘

Supported Languages

We Follow the ISO 639-1 standard language codes

es: Spanish (Spain)
en: English
pt: Portuguese (Portugal)
pt-br: Portuguese (Brazil)

Specific configuration parameters

ParameterDescription
languagelanguage code of the supported language.

Default: Browser || "en"

Usage Example

<!DOCTYPE html>
<head>
    <title>LSW v3 Embed</title>
</head>
<body>
    <div id="instaleap-lsw-v3"></div>
</body>

<script src="https://xandar-lsw-v3.instaleap.io/lib/lsw.js"></script>
<script>
    const params = {
        job: "myJob",
        token: "myToken",
        container: "#instaleap-lsw-v3",
        language: "pt"
    }
    window.instaleap.lsw.render(params)
</script>
</html>

The language configuration is set in the "language" attribute of the configuration object.

You will see the following content