bug: static rendered html lang is always "en" + missing "hreflang" #5086
bguiz
started this conversation in
Bugs & Feedback
Replies: 0 comments
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.
-
Steps to reproduce
docs.jsonconfigure multiple languages vianavigation.languagesbased on instructions in https://www.mintlify.com/docs/guides/internationalization/ko/*Problem 1
https://{YOUR_MINTLIFY_DOMAIN}/koin Chrome<html />tag'slangproperty's value asko--> Correct behaviour<html />tag'slangproperty's value asen--> Wrong behaviourProblem 2
https://{YOUR_MINTLIFY_DOMAIN}/in Chrome<link rel="alternate" hreflang="ko" href="{YOUR_MINTLIFY_DOMAIN}/ko/" />is not present<link rel="alternate" hreflang="x-default" href="{YOUR_MINTLIFY_DOMAIN}/" />is not presentObservations
Problem 1
en) and only updated in the browserProblem 1 - Actual Outcome
Static render from server (wrong):
Dynamic render in browser (correct):
Problem 1 - Expected Outcome
Static render from server (correct):
Dynamic render in browser (correct):
Problem 2
Problem 2 - Actual outcome
Problem 2 - Expected Outcome
Context
I have translated pages in my docs where:
/*: English/ko/*: KoreanReferences
Beta Was this translation helpful? Give feedback.
All reactions