From 66556d70a2bc5aa024d1625eb315b2f2c6289bb5 Mon Sep 17 00:00:00 2001 From: pdelboca Date: Mon, 6 Nov 2023 09:23:58 +0100 Subject: [PATCH 1/2] Add language chooser --- templates/general.html | 12 +----------- templates/menu/language_chooser.html | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 11 deletions(-) create mode 100644 templates/menu/language_chooser.html diff --git a/templates/general.html b/templates/general.html index caeefdb7..8eea3499 100644 --- a/templates/general.html +++ b/templates/general.html @@ -52,17 +52,7 @@ - + {% language_chooser %} diff --git a/templates/menu/language_chooser.html b/templates/menu/language_chooser.html new file mode 100644 index 00000000..c9bcd313 --- /dev/null +++ b/templates/menu/language_chooser.html @@ -0,0 +1,18 @@ +{% load i18n menu_tags static %} + +{% if languages|length > 1 %} +