search cancel

WSS error messages returned in localised language

book

Article ID: 175336

calendar_today

Updated On:

Products

Web Security Service - WSS

Issue/Introduction

  • To keep consistent messaging across the globe, the  'show English translation only' was enabled in the Portal so that the error page returned will ignore the browsers language setting and return messages in English.
  • After applying the change shown below, all responses back to the browser still appeared in the local language. Nothing could be done to get English messages returned.

 

 

The issue would appear with Chrome, Edge and Firefox

Error messages would not appear in English, but in French, Italian, German, Japanese, etc depending on the browser language defined.

Environment

Problem occured independently of Access methods.

Cause

The error strings are returned within the exceptions.js page - when the issue appeared, the page would not include English language content when expected. SInce the returned page has no cache control settings dictating that it should not be cacched, we simply return what is in cache. If the original access returned the localised content, this is what we will see until the cache is cleared.

Resolution

clear cache on the browser.

As a rule of thumb, make sure that browser caches are cleared with every change to the setting above.

 

Attachments