Change ISO code for language on single page

The data-vocabulary.org warning should be resolved in the latest version of discourse per

https://github.com/discourse/discourse/commit/96b64df4d46627fbcaf3c40612750405ca058333

Your site has this update, so we just need to wait for googlebot to catch up. As you found, doing a live test will resolve the warning.

Unfortunately this restructuring of breadcrumbs broke the little language script we came up with. The breadcrumbs no longer have the #breadcrumb-0 id, so we need something else. I think this should do it:

<script>
    document.addEventListener('DOMContentLoaded', function(){
    	if(document.querySelector("#breadcrumbs a[href*='/c/chinese']")){
    		document.documentElement.lang = "zh";
    	}
    });
</script>

Let me know if that resolves the issue with a live test