在单个页面上更改语言的 ISO 代码

I’m a bit confused, in looking at the code, there is no #breadcrumb-0 on our page.
image

image

I had tried using

<script>
if(document.querySelector("a.bullet[href='/c/chinese']")){
	document.documentElement.lang = "zh"
}
</script>

but that didn’t seem to do the trick. I have a feeling those elements are loaded later, because the code works in in the browser console, but not in a component /head. Any pointers?