From 80aa7783c7be50f5c34d343034c637c067848e48 Mon Sep 17 00:00:00 2001 From: Silvano Cerza Date: Fri, 19 Nov 2021 12:00:04 +0100 Subject: [PATCH] Locale is now refreshed on Init --- commands/instances.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/commands/instances.go b/commands/instances.go index f09b749e23b..1e17bd485d5 100644 --- a/commands/instances.go +++ b/commands/instances.go @@ -334,6 +334,11 @@ func Init(req *rpc.InitRequest, responseCallback func(r *rpc.InitResponse)) erro }) } + // Refreshes the locale used, this will change the + // language of the CLI if the locale is different + // after started. + i18n.Init(configuration.Settings.GetString("locale")) + return nil }