LocalizationListener
is notified if {@link Localizable}objects are switched to another language. The purpose of this listener is to allow for easy switching of hierarchies of Localizable
objects, for example a Page
, which could provide multiple versions of its content may contain a localized title field. If the page is now switched to another language, and the title has registered with the page as a LocalizationListener
, then the title can easily be switched as well, so a call to the getTitle()
method of the page will return the title in the page's current language.
|
|