Use only language part of language cookie value

en-US -> en