Colossal Mind Language Detector detects a user's preferred language. It parses the HTTP Accept-Language header and determines the most suitable language for the user from a list of supported languages. The detected language can fallback to a language associated with the user's country in case the Accept-Language header is not sent by the browser. The detected language can be stored in a cookie to avoid needing to detect the language again in subsequent requests.
|Tags||http Language Detection Internationalization multi-language system php class|
Release Notes: The Accept-Language parser was improved.