Added support for language codes with country information (like en-US)