SPLanguageSettings properties

SPLanguageSettings properties

SharePoint 2013

The SPLanguageSettings type exposes the following members.

  Name Description
Public property ClientLanguages Gets languages from client (browser)
Public property ClientLanguagesOverride Gets override language for the session.
Public property PreferredContentLanguages Gets preferred content languages.
Public property PreferredDisplayLanguages Gets user's preferred display languages.
Public property PreferredDisplayLanguagesNoClient Gets user's preferred display languages without using client/browser languages
Public property 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
Show:
© 2016 Microsoft