diff --git a/config.php-dist b/config.php-dist index 6ccd0d8c7..f04718334 100644 --- a/config.php-dist +++ b/config.php-dist @@ -138,7 +138,11 @@ // If update daemon and update_feeds should send digests // Disable if you prefer querying special URL (see wiki) - define('CONFIG_VERSION', 6); + define('ENABLE_TRANSLATIONS', false); + // Enable experimental support for interface translations + // based on PHP-Gettext. This is of no much use right now. + + define('CONFIG_VERSION', 7); // Expected config version. Please update this option in config.php // if necessary (after migrating all new options from this file). diff --git a/functions.php b/functions.php index f7a0cc54d..7554ad9ba 100644 --- a/functions.php +++ b/functions.php @@ -9,9 +9,12 @@ require_once "accept-to-gettext.php"; require_once "gettext/gettext.inc"; - startup_gettext(); - require_once 'config.php'; + + if (ENABLE_TRANSLATIONS == true) { + startup_gettext(); + } + require_once 'db-prefs.php'; require_once 'compat.php'; require_once 'errors.php'; diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index a87534723..6ac80be74 100644 --- a/modules/popup-dialog.php +++ b/modules/popup-dialog.php @@ -5,11 +5,11 @@ if ($id == "explainError") { - print "