-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Correct Core Installer Translation #3192
Conversation
…ased on user selection.
@Guite ready for review |
$event = new ModuleStateEvent($this->container->get('kernel')->getModule('ZikulaRoutesModule')); | ||
$this->container->get('event_dispatcher')->dispatch(CoreEvents::MODULE_POSTINSTALL, $event); | ||
// $event = new ModuleStateEvent($this->container->get('kernel')->getModule('ZikulaRoutesModule')); | ||
// $this->container->get('event_dispatcher')->dispatch(CoreEvents::MODULE_POSTINSTALL, $event); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this got disabled because now only customised routes are persisted in the database? If yes, you can also remove it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
basically yes. I disabled it because it isn't needed. I left the code commented because removing it means the ajax stage should be fully removed and I didn't want to take the time to do that yet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Go for it ;-) |
Description
enable scan of locales on installation and set locale for installer based on user selection. Add translator usage to many parts of the core installer and upgrader.
closes #2191