DetectorSource
Enumeration of possible sources for language detection using i18next
browser language detector.
The browser language detector checks various sources to determine the user's preferred language. This enum represents the different sources that can be used for language detection.
Entries
Link copied to clipboard
@SerialName(value = "localStorage")
Language detected from the browser's local storage.
Link copied to clipboard
@SerialName(value = "querystring")
Language detected from the URL query string parameter.
Link copied to clipboard
@SerialName(value = "sessionStorage")
Language detected from the browser's session storage.
Properties
Functions
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared.