update language tag parser to recent RFC