summaryrefslogtreecommitdiff
path: root/app/FreshRSS.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/FreshRSS.php')
-rw-r--r--app/FreshRSS.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/FreshRSS.php b/app/FreshRSS.php
index b997433bf..6114a5d1a 100644
--- a/app/FreshRSS.php
+++ b/app/FreshRSS.php
@@ -26,6 +26,10 @@ class FreshRSS extends Minz_FrontController {
// Load context and configuration.
FreshRSS_Context::init();
+ // Init i18n.
+ Minz_Session::_param('language', FreshRSS_Context::$conf->language);
+ Minz_Translate::init();
+
$this->loadStylesAndScripts();
$this->loadNotifications();
$this->loadExtensions();