Move Plugin gettext initialization from constructor to Initialize

Move Plugin gettext initialization from constructor to Initialize

Issue ID:2784
Issue Category:bug
Component:plugin
Priority:normal
Status:active
Assigned:brion

setupGettext() gets called in Plugin::__construct(); unfortunately that means it gets run at addPlugin time currently, and config settings such as an overridden locale path may not have been set yet.

If it doesn't cause any other problems, it _should_ be safe to move that down to the Initialize event... need to confirm it doesn't bork things though, gettext is very picky.

Updates

Login or Register to modify this issue, or to receive updates by email.

You can also subscribe to the RSS feed for updates to this issue.