The ILocalization type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | BestCultureCodeBasedOnBrowserLanguages(IEnumerable<(Of <<'(String>)>>)) |
Inspect the browser supplied language headers and find the best match from the supplied list
|
![]() | BestCultureCodeBasedOnBrowserLanguages(IEnumerable<(Of <<'(String>)>>), String) |
Inspect the browser supplied language headers and find the best match from the supplied list
|
![]() | GetPageLocale |
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
|
![]() | SetThreadCultures |
Sets the culture codes on the current Thread
|