Automatically provide the RDF graph for each PG text (if possible), and search that graph for language information more reliable than the stuff inside the header.