Replies: 4 comments
-
You can set it on site.yaml with |
Beta Was this translation helpful? Give feedback.
-
I don't need set lang, I need get it from client browser 🤓 for modernization layout.html |
Beta Was this translation helpful? Give feedback.
-
Not 100% sure what you try to accomplish, but seems you need a global javascript file to manipulate the DOM on the client side. |
Beta Was this translation helpful? Give feedback.
-
Maybe… it’s just simple clientUX case - get browser lang for translate page for prefer user language. I see island have client side js logic… but not useful in layouts 🤔 html |
Beta Was this translation helpful? Give feedback.
-
I can't get browser lang or system theme in layout.html file, because object window/document not accessible...
How I can get browser lang or system theme in layout.html?
Beta Was this translation helpful? Give feedback.
All reactions