SPLanguageSettings members
Represents set of language preferences.
The SPLanguageSettings type exposes the following members.
Properties
Name | Description | |
---|---|---|
ClientLanguages | Gets languages from client (browser) | |
ClientLanguagesOverride | Gets override language for the session. | |
PreferredContentLanguages | Gets preferred content languages. | |
PreferredDisplayLanguages | Gets user's preferred display languages. | |
PreferredDisplayLanguagesNoClient | Gets user's preferred display languages without using client/browser languages | |
PreferredSearchLanguages | Gets preferred search languages. General priority is as follows: 1. If there are preferred "Content" (Content and Search) languages, use those. 2. If no Content languages, use an augmentation of MUI languages and Client (browser) languages. 3. If there are no MUI/Client languages, use the web language 4. If there is no context to get the web (eg: In Powershell), return empty set. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetGlobalInstalledLanguages | Gets a list of installed languages that are compatible with a given version of SharePoint. | |
GetGlobalLanguages | Gets global languages based on compatibility level. Compatibility Level is the major SharePoint version to query for installed languages. The valid version is determined by IsValidCompatibilityLevel. | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) | |
TryDetermineLanguage([], [], String) | Try to determine the best culture to use. This overload assumes default options | |
TryDetermineLanguage([], [], LanguageDecisionOptions, String) | Try to determine the best culture to use. This overload allows custom options |
Top