From 8325a7b0438616d1c3bb8e242b98e14108c689e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 15 Oct 2023 10:38:23 +0200 Subject: [PATCH] add language --- conf/.env | 1 + manifest.toml | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/conf/.env b/conf/.env index bcaaa0e..91e60ae 100644 --- a/conf/.env +++ b/conf/.env @@ -14,6 +14,7 @@ WEBHOOK_URL=https://__DOMAIN____PATH__ # If not set New York time will be used GENERIC_TIMEZONE=__TIMEZONE__ TZ=__TIMEZONE__ +N8N_DEFAULT_LOCALE=__LANGUAGE__ # Use http (we're behind a reverse-proxy) N8N_PROTOCOL=http diff --git a/manifest.toml b/manifest.toml index f3a040b..1e73a8b 100644 --- a/manifest.toml +++ b/manifest.toml @@ -42,6 +42,13 @@ ram.runtime = "50M" type = "group" default = "visitors" + [install.language] + ask.en = "Choose the application language" + ask.fr = "Choisissez la langue de l'application" + type = "select" + choices = ["fr", "en"] + default = "fr" + [resources] [resources.ports]