The Globalization type exposes the following members.

Methods

  NameDescription
Public methodStatic memberGetUICulture
Return the current language for Composer UI. Due to the edit-on-page mode in Composer is the view-mode then we need to have a special handle for separate UICulture and Content language. The UICulture is prioritized in order: 1. Use personalized language setting. 2. System default as defined in web.config, 3. Content language
Public methodStatic memberSetContentLanguage
Set the content language for Composer edit context
Public methodStatic memberSetUICulture
Set the UICulture
Public methodStatic memberTranslateText(String)
Translate text based on current culture, use prefix "/Dropit/Plugin" if the key does not contain
Public methodStatic memberTranslateText(String, Boolean)
Translates the text.
Public methodStatic memberTranslateText(String, String)
Translate text based on input language, use prefix "/Dropit/Plugin" if the key does not contain
Public methodStatic memberTranslateText(String, String, Boolean)
Translates the text.

See Also