Multi-language support

This commit is contained in:
bergware
2020-05-12 07:50:52 +02:00
parent 09cc415f92
commit ea208a89b6
2 changed files with 2 additions and 2 deletions

View File

@@ -69,8 +69,8 @@ $language = [];
$locale = $_SESSION['locale'];
$return = "function _(t){return t;}";
$jscript = "$docroot/webGui/javascript/translate.en_US.js";
$root = "$docroot/webGui/help/helptext.txt";
$help = "$docroot/webGui/help/helptext.dot";
$root = "$docroot/languages/en_US/helptext.txt";
$help = "$docroot/languages/en_US/helptext.dot";
if ($locale) {
$text = "$docroot/languages/$locale/translations.txt";