#Is there a way to change the HTML lang attribute without using i18n, something like metadata const?

5 messages · Page 1 of 1 (latest)

sage oxide
#

I don't want to use i18n since it is inconvenient and I want to set the HTML lang in a simple way like the const metadata is there anything like this or is it hard to create? any options that require no middleware configuration too?

marble torrentBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

rugged storm
#

you can't set it in your root layout?

sage oxide
#

I can but this makes the whole site in the same language and I want to modify the HTML lang from different pages

#

so different pages have different languages