protected function registerLocalizer()
    {
        $this->app->bind(Localizer::class, function ($app) {
            $locales = $app['config']->get("{$this->name}.supported-locales");
            $detectors = $app['config']->get("{$this->name}.detectors");
            $stores = $app['config']->get("{$this->name}.stores");

            return new Localizer($locales, $detectors, $stores);
        });
    }