resolve language from header is now optional