Acting as a base class for services and components, this class facilitates bootstrapping for classes requiring both route and language awareness.
Extend this class, then override onLanguageServicesReady()
and onLanguageChanged()
methods as needed:
Consider marking
onLanguageServicesReady()
andonLanguageChanged()
asprotected
, as they are usually intended for internal class use.
A LocalizedRouteAware
is by definiton a RouteAware
, which is also Destroyable
.
Take advantage of the tools provided by the base class.
Implementing integration in a library
Providing integration from an app