Allow the English language bundle to be default, if a message key is missing

Description

If a message key is missing from a language bundle, the failure will cause a crash and the JSP page will stop to render with a message that indicates "no message could be found under key xyz".

Renaming messages_en.properties to messages.properties will allow the configuration to use the English bundle as the default fallback.

This may be appropriate when deployers choose to customize the English message bundle with additional messages in a customized UI and yet, when the user accesses CAS for instance in a non-English browser, CAS will attempt to switch the language locale automatically which will cause a crash.

Environment

None

Status

Assignee

Misagh Moayyed

Reporter

Misagh Moayyed

Labels

None

Estimated End Date

None

Audience

None

Components

Fix versions

Priority

Trivial