Request-level service that provides localization of phrases based on config files.
The global application instance.
Get the global Application.
Get the global Container.
Resolve the given phrase to the locale of this service. This is where all the magic happens.
This method tries to load the given phrase from the config using
load() then localizes it
using the specified parameters.
Get the method with the given name from this class, bound to this class.
Get the default locale that should be assigned if none is specified in the session.
Get a wrapped helper function that can be passed around instead of this service.
Attempt to load the given locale string, merging in the appropriate common locale values.
make() method on the global container.
Set the preferred locale for lookups by this service.