Customize Configuration
The examples below will show you how can change the configuration of the widget.
Change the Language
To switch to another language define the language ISO 639-1 Code in the config object as shown below:
<script>
window.rnw.tamaro.runWidget('.rnw-widget-container
', {
language: 'de',
})
</script>
Comments
1 comment
Hi, I changed my widget by adjusting the amounts and added a specific text to every amount I chose. The widget itself is still in English though, and if I apply your code to change the language from en to de (
) then all my modifications are gone. How can I change the language without loosing all the modifications?
Please sign in to leave a comment.