Replies: 4 comments
|
You can set it on site.yaml with |
0 replies
|
I don't need set lang, I need get it from client browser 🤓 for modernization layout.html |
0 replies
|
Not 100% sure what you try to accomplish, but seems you need a global javascript file to manipulate the DOM on the client side. |
0 replies
|
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 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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?
All reactions