Fix malformed language strings and standardize