Change WAB language

510
1
06-06-2019 05:28 AM
AntonioFraga
New Contributor

Hi!

I wish to know if it would be possible to change the WAB language  on the fly once the app is loaded via programming a specific widget. The goal is change it dinamically using a selector.

All suggestions are welcome.
Thank you!


Antonio

Tags (1)
0 Kudos
1 Reply
KoenDemonie
New Contributor II

By default, WAB takes the language setup in on your portal-account profile.

Nonetheless you can change it at runtime by adding : " locale=<lang>" url param.

the <lang> should be of format ISO 639-1.

ex.

https://<WAB-URL>?id=2&locale=fr