use default locale when failed to get browser locale