Loads translations before the rest of the plugin

This commit is contained in:
Vlad
2017-10-23 19:01:33 -04:00
parent eb27ed65ae
commit 3ad490f840

View File

@ -36,6 +36,9 @@ class Initializer {
return;
}
// load translations
$this->setupLocalizer();
try {
$this->setupDB();
} catch(\Exception $e) {
@ -124,7 +127,6 @@ class Initializer {
$this->setupInstaller();
$this->setupUpdater();
$this->setupLocalizer();
$this->setupCapabilities();
$this->setupMenu();
$this->setupShortcodes();