The ILocalization type exposes the following members.

Methods

  NameDescription
Public methodBestCultureCodeBasedOnBrowserLanguages(IEnumerable<(Of <<'(String>)>>))
Inspect the browser supplied language headers and find the best match from the supplied list
Public methodBestCultureCodeBasedOnBrowserLanguages(IEnumerable<(Of <<'(String>)>>), String)
Inspect the browser supplied language headers and find the best match from the supplied list
Public methodGetPageLocale
Detects the current language for the request. The order in which the language is being detect is: 1. QueryString 2. Cookie 3. User profile (if request is authenticated) 4. Browser preference (if portal has this option enabled) 5. Portal default 6. System default (en-US) At any point, if a valid language is detected nothing else should be done
Public methodSetThreadCultures
Sets the culture codes on the current Thread

See Also