... Googlebot went to a website and said, give me this page ...
... So we find the words on the page, know what language ...