(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0)
Locale::getPrimaryLanguage
  • References/PHP/Function/Human Language and Encoding/Internationalization/Locale

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Gets the primary language for the input locale

2025-01-10 15:47:30
Locale::lookup
  • References/PHP/Function/Human Language and Encoding/Internationalization/Locale

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Searches the language tag list for the best match to the language

2025-01-10 15:47:30
Locale::filterMatches
  • References/PHP/Function/Human Language and Encoding/Internationalization/Locale

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Checks if a language tag filter matches with locale

2025-01-10 15:47:30
Locale::composeLocale
  • References/PHP/Function/Human Language and Encoding/Internationalization/Locale

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Returns a correctly ordered and delimited locale ID

2025-01-10 15:47:30
Locale::canonicalize
  • References/PHP/Function/Human Language and Encoding/Internationalization/Locale

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Canonicalize the locale string

2025-01-10 15:47:30
Locale::getDisplayLanguage
  • References/PHP/Function/Human Language and Encoding/Internationalization/Locale

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Returns an appropriately localized display name for language

2025-01-10 15:47:30
Locale::getDisplayScript
  • References/PHP/Function/Human Language and Encoding/Internationalization/Locale

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Returns an appropriately localized display name for script

2025-01-10 15:47:30
Locale::acceptFromHttp
  • References/PHP/Function/Human Language and Encoding/Internationalization/Locale

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Tries to find out best available locale based on HTTP "Accept-Language"

2025-01-10 15:47:30
Locale::getDisplayRegion
  • References/PHP/Function/Human Language and Encoding/Internationalization/Locale

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Returns an appropriately localized display name for region

2025-01-10 15:47:30
Locale::getDisplayName
  • References/PHP/Function/Human Language and Encoding/Internationalization/Locale

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Returns an appropriately localized display name for the input

2025-01-10 15:47:30