also checking if the language tag contains an empty string, related to #142