The Globalization type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| GetUICulture |
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
| |
| SetContentLanguage |
Set the content language for Composer edit context
| |
| SetUICulture |
Set the UICulture
| |
| TranslateText(String) |
Translate text based on current culture, use prefix "/Dropit/Plugin" if the key does not contain
| |
| TranslateText(String, Boolean) |
Translates the text.
| |
| TranslateText(String, String) |
Translate text based on input language, use prefix "/Dropit/Plugin" if the key does not contain
| |
| TranslateText(String, String, Boolean) |
Translates the text.
|