WebSphere Portal and Lotus Connections offer out-of-the-box support to a broad variety of languages, but sometimes this is not a desired feature. Customers may want all the visitors to use the same language.
WebSphere Portal has a default language. This can be modified going into
- In the side navigation, click Portal Settings -> Global Settings.
- Select the language for the portal from the Default portal language list.
- Click Save.
But it will be taken in account only when a blank Accept-Language request header is sent by the browser (this means no language selected into the browser's options).
Now we can brutally remove the support for all undesired languages, or we can do a simple trick at HTTPServer level
In the httpd.conf we add this section
LoadModule headers_module modules/mod_headers.so
RequestHeader unset Accept-Language
RequestHeader append Accept-Language "en-us"
So every request is forced through the desided locale.
Using third level domains (for example english.portal.com or italian.portal.com) we may have customized languages for every URL.