Locale Administration Portlet
Portlet Title | Locale Administration |
Portlet Name | wm_localeadmin |
Portlet File Name | wm_localeadmin.pdp |
Top-level Folder | admin |
JSR168 Portlet? | No |
Alias | /portlet/wm_localeadmin |
Default Instances of the portlet | Administrative Folders > Administration Dashboard > User Interface > Locale Administration |
User Interface. Administrators use this portlet to configure the default My webMethods Server system locale. Additionally, using the Locale Rules portlet that is embedded in the Locale Administration portlet, administrators can configure locale rules.
My webMethods Server uses the system locale and locale rules when determining the language to use during a user session:
System locale is the default language to use when a locale setting is not otherwise defined.
Local rules are evaluated by
My webMethods Server to determine a locale.
The following describes how My webMethods Server determines the locale to use for a user session:
1. For a non-guest user, My webMethods Server obtains the locale preference from the User Profile.
2. If the locale preference is not set in the User Profile or the user is a guest, My webMethods Server evaluates locale rules. If one of the rules is triggered, My webMethods Server uses the locale from the rule.
My webMethods Server only evaluates locale rules at login time or when a guest session is first created. As a result, you cannot define locale rules for My webMethods Server resources (pages, folders, portlets).
3. If no locale rule is triggered, My webMethods Server checks the user's web browser language preference.
My webMethods Server obtains this preference from the Accept-Language request header and uses the language with the highest preference. Typically, browsers have default settings for user accepted languages and locales.
4. If no language preference is defined for the web browser, My webMethods Server uses the default My webMethods Server system locale.
After My webMethods Server sets the initial locale for the user session, the end user can change it by:
Page developers can place the Locale Switcher portlet on every page by placing it in the portal shell. My webMethods Server uses the new locale until the end user changes it again or until the user session ends.
2. Setting the User Locale field in the User Profile Page. When an end user changes this field in their own profile, the change takes affect immediately. Changes to the User Profile are persisted, and as a result, the change continues to be in effect the next time the end user logs in.