X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=bin%2Fworker.php;h=ceab479cea93064af9074e1664f73c43c25bd0a9;hb=2d6437898409a2b9afef2a4ae33c72dccb647c53;hp=f8900f3ca32417725b05337195907ef5f644a6d1;hpb=432eec770b7f2ec6128f70534489025207f26a13;p=friendica.git diff --git a/bin/worker.php b/bin/worker.php index f8900f3ca3..ceab479cea 100755 --- a/bin/worker.php +++ b/bin/worker.php @@ -9,6 +9,7 @@ use Friendica\App; use Friendica\Core\Addon; use Friendica\Core\Config; use Friendica\Core\Worker; +use Friendica\Core\L10n; // Get options $shortopts = 'sn'; @@ -33,6 +34,9 @@ $a = new App(dirname(__DIR__)); Config::load(); +$lang = L10n::getBrowserLanguage(); +L10n::loadTranslationTable($lang); + // Check the database structure and possibly fixes it check_db(true);