Added error for unrecognized language