Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • ClientSessionProvider: gives access to the current Locale and contains the logic around calculating the Locale, based on cookie/param/header
  • TranslatedException: captures a key and its arguments. These are later processed by the FrontController

 There are very few other instances where the Java code needs to localise messages. One example, is the Loader (which initialises all the indexes). This just accesses the ResourceBundle directly by name.

HTML

The following code fragments explain how this is used

...