CSS for Internationalisation
Sorry to be nitpicky, but this is wrong:<p>> Have you ever wondered how Chrome knows to ask you if you’d like a web page’s content to be translated? No? Okay, maybe it’s just me then. But it’s because of the lang attribute on the <html> element.<p>The lang attribute is a signal to whatever's inside Chrome that detects language. Here's a simple counter example: <a href="https://twitter.com/chewxy/status/1253076770066010112" rel="nofollow">https://twitter.com/chewxy/status/1253076770066010112</a><p>The image is an SVG generated by graphviz. With no lang attribute (or even a HTML tag) Still Chrome thinks it's Luxembourgish.<p>Nonetheless, I appreciate the tip on the pseudoclass for lang.