You can use following code to change the language on Portal.
<portal-navigation:url command="ChangeLanguage"> <portal-navigation:urlParam name="locale" value="<language>"/> </portal-navigation:url>
There was a problem with this when navigational state is cleared.
This happens if bookmarks to friendly URLs are used for navigation or
the navigational state is cleared intentionally.
You can this technique to store language value in cookie temporarily and It sets the locale information, if no locale information can be
found in the navigational state.
Configure cookie support language using this
url: http://www-01.ibm.com/support/docview.wss?uid=swg1PM17679
No comments:
Post a Comment