Properly default the language when invalid in prop file