Localize Trip Element
Show content in the language preferred by the user.
Introduction
Localize the content by configuring the Trip Element with a language code.
See the list of supported locales.
Learn more about the Configuration Model.
Example of the Trip Element in German

Instructions
Extend the elementConfig
object with a language code.
const elementConfig = {
language: 'de'
...
}
$sherpa.V2.createElement('trip', elementConfig).mount('#sherpa-widget')
Updated about 1 year ago