public function __construct(Application $app)
{
$this->config = $app->make('config');
$this->cache = $app->make('cache');
$this->request = $app->make('request');
$this->localeModel = $app->make($this->getConfigLocaleModel());
$this->translationModel = $app->make($this->getConfigTranslationModel());
$this->client = $app->make($this->getConfigClient());
// Set the default locale to the current application locale
$this->setLocale($this->getConfigDefaultLocale());
// Set the cache time from the configuration
$this->setCacheTime($this->getConfigCacheTime());
}