Search Results
Tries to find out best available locale based on HTTP "Accept-Language" header
- setDefault
Sets the default runtime locale to locale. This changes the...
- getDisplayRegion
Returns an appropriately localized display name for region...
- getDefault
Gets the default locale value. At the PHP initialization...
- getDisplayName
Returns an appropriately localized display name for the...
- getScript
locale_get_script does no validation of whether the script...
- parseLocale
The array will be ordered as the locale id subtags e.g. in...
- getDisplayLanguage
Returns an appropriately localized display name for language...
- getRegion
locale_get_region does no validation of whether the region...
- setDefault
Essaie de trouver une locale qui peut satisfaire la liste de langue qui est demandée par l'en-tête HTTP "Accept-Language".
Locale::acceptFromHttp -- locale_accept_from_http — Tries to find out best available locale based on HTTP "Accept-Language" header
Get an IETF language tag based the HTTP Accept-Language header, an array of supported locales and a default locale. - Xyphex/AcceptFromHttp
Tries to find locale that can satisfy the language list that is requested by the HTTP "Accept-Language" header.
Aug 22, 2024 · Why does Locale::acceptFromHttp give different result for same input? Asked 1 year, 8 months ago Modified 1 year, 8 months ago Viewed 52 times
Tries to find locale that can satisfy the language list that is requested by the HTTP "Accept-Language" header.
