Hello @david
I was going through our site with my SEO team and it appears that these may no longer be working.
Example Post in our German Category.
When I look at the crawled page on the Google Search Console it is showing English.
Here is the code I am currently using.
<script>
document.addEventListener('DOMContentLoaded', function(){
if(document.querySelector("#breadcrumbs a[href*='/c/german']")){
document.documentElement.lang = "de";
}
});
</script>
Any help or direction would be appreciated.
-Robert
