• Pixelistik's avatar
    Auto-detect language of blog posts · abf90c1f
    Pixelistik authored
    In order to correctly specify the language in the page metadata. Using an
    extremely simple approach: check lists of the 100 most common words in both
    de and en. Whichever has more hits in the current page, wins.
    abf90c1f
lang.html 2.05 KB