Changing the language attribute using appconnect

HI I am trying to to have a dynamic value for lang attribute of the opening HtML element.

Currently I have:

<html lang="en">

But I would like to change the value of the lang, based on the users language selection. This has been saved in a DB. I tried using the dmx-bind

<html dmx-bind:lang="scAppSettings.data.qrUserLanguage.user_language">:

However, the above is not working, is there a way for me to accomplish this?

Thanks

J

That’s the correct way of doing it, you just need to switch the App Root to Page:

1 Like