From 8cb18fb2fd79a7d46699ca69f6c64814bf0bbf20 Mon Sep 17 00:00:00 2001 From: darkelfe14728 Date: Sun, 2 Feb 2020 12:56:59 +0100 Subject: [PATCH] Fix locale detection --- config/services.yaml | 2 +- translations/messages.fr.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 translations/messages.fr.yaml diff --git a/config/services.yaml b/config/services.yaml index 611d2ff..5becce9 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: - app.supported_locales: 'fr|en' + app.supported_locales: '|fr|en' services: # default configuration for services in *this* file diff --git a/translations/messages.fr.yaml b/translations/messages.fr.yaml new file mode 100644 index 0000000..0198bc5 --- /dev/null +++ b/translations/messages.fr.yaml @@ -0,0 +1,2 @@ +Accueil: Accueil +Bienvenue sur WishList: Bienvenue sur WishList \ No newline at end of file