This method gets a supported locale from the browser settings, and sets it on the http session and as a runtime setting.
PTLoginActions Class | com.plumtree.portalpages.pei Namespace