From f298988a4e93cd4d0407a684d1f30ba5fa667746 Mon Sep 17 00:00:00 2001 From: Thomas Date: Thu, 22 Aug 2019 11:59:22 +0200 Subject: [PATCH] Add German --- config/services.yaml | 2 +- public/img/flags/de.svg | 5 +++++ templates/nav.html.twig | 5 +++-- 3 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 public/img/flags/de.svg diff --git a/config/services.yaml b/config/services.yaml index e5e7547..84744d9 100644 --- a/config/services.yaml +++ b/config/services.yaml @@ -4,7 +4,7 @@ # Put parameters here that don't need to change on each machine where the app is deployed # https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration parameters: - allowed_language: "fr|en|nl|pt-PT|pt-BR" + allowed_language: "fr|en|nl|pt-PT|pt-BR|de" languages: "(%allowed_language%)?" services: # default configuration for services in *this* file diff --git a/public/img/flags/de.svg b/public/img/flags/de.svg new file mode 100644 index 0000000..1acf302 --- /dev/null +++ b/public/img/flags/de.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/templates/nav.html.twig b/templates/nav.html.twig index 17b95c0..42d46df 100644 --- a/templates/nav.html.twig +++ b/templates/nav.html.twig @@ -44,9 +44,10 @@ {% endif %} English  English Français  Français + Deutsch  Deutsch Nederlands  Nederlands - Nederlands  Português - Nederlands  Brasil + Português  Português + Brasil  Brasil