diff --git a/CHANGELOG.md b/CHANGELOG.md
index ba73a67e24..4f490fe0db 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,7 @@ HumHub Changelog
- Fix #7377: Configured Redis cache key prefix was overwritten by the default value
- Fix #7375: Use default language for email invitation and show language chooser on registration form
- Enh #7383: Improve SelfTest for Base URL
+- Enh #5426: Show language chooser for guest on the sidebar footer
1.17.0 (January 13, 2025)
-------------------------
diff --git a/protected/humhub/widgets/LanguageChooser.php b/protected/humhub/widgets/LanguageChooser.php
index 868af76aaa..26b6ed25f6 100644
--- a/protected/humhub/widgets/LanguageChooser.php
+++ b/protected/humhub/widgets/LanguageChooser.php
@@ -32,6 +32,14 @@ use yii\base\Widget;
*/
class LanguageChooser extends Widget
{
+ /**
+ * @inheritdoc
+ */
+ public function beforeRun()
+ {
+ return parent::beforeRun() && Yii::$app->user->isGuest;
+ }
+
/**
* Displays / Run the Widget
*/
diff --git a/protected/humhub/widgets/views/footerNavigation.php b/protected/humhub/widgets/views/footerNavigation.php
index 1b9d4baa80..1c4d27dd1f 100644
--- a/protected/humhub/widgets/views/footerNavigation.php
+++ b/protected/humhub/widgets/views/footerNavigation.php
@@ -6,6 +6,7 @@
*/
use humhub\modules\ui\menu\MenuLink;
+use humhub\widgets\LanguageChooser;
use humhub\widgets\PoweredBy;
use yii\helpers\Html;
@@ -28,7 +29,9 @@ use yii\helpers\Html;
- = PoweredBy::widget(); ?>
+ = PoweredBy::widget() ?>
+
+ = LanguageChooser::widget() ?>
diff --git a/protected/humhub/widgets/views/footerNavigation_sidebar.php b/protected/humhub/widgets/views/footerNavigation_sidebar.php
index 6ca09d280b..2916340d08 100644
--- a/protected/humhub/widgets/views/footerNavigation_sidebar.php
+++ b/protected/humhub/widgets/views/footerNavigation_sidebar.php
@@ -6,6 +6,7 @@
*/
use humhub\modules\ui\menu\MenuLink;
+use humhub\widgets\LanguageChooser;
use humhub\widgets\PoweredBy;
use yii\helpers\Html;
@@ -30,6 +31,8 @@ use yii\helpers\Html;
= PoweredBy::widget(); ?>
+
+ = LanguageChooser::widget() ?>