Locale recognition.