in IE, localeMatch might be null