Loads translations before the rest of the plugin
This commit is contained in:
@ -36,6 +36,9 @@ class Initializer {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// load translations
|
||||||
|
$this->setupLocalizer();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$this->setupDB();
|
$this->setupDB();
|
||||||
} catch(\Exception $e) {
|
} catch(\Exception $e) {
|
||||||
@ -124,7 +127,6 @@ class Initializer {
|
|||||||
$this->setupInstaller();
|
$this->setupInstaller();
|
||||||
$this->setupUpdater();
|
$this->setupUpdater();
|
||||||
|
|
||||||
$this->setupLocalizer();
|
|
||||||
$this->setupCapabilities();
|
$this->setupCapabilities();
|
||||||
$this->setupMenu();
|
$this->setupMenu();
|
||||||
$this->setupShortcodes();
|
$this->setupShortcodes();
|
||||||
|
Reference in New Issue
Block a user