Skip to content

Commit 39f150a

Browse files
authored
Locale is now refreshed on Init (#1555)
1 parent 9c13e87 commit 39f150a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

commands/instances.go

+5
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,11 @@ func Init(req *rpc.InitRequest, responseCallback func(r *rpc.InitResponse)) erro
334334
})
335335
}
336336

337+
// Refreshes the locale used, this will change the
338+
// language of the CLI if the locale is different
339+
// after started.
340+
i18n.Init(configuration.Settings.GetString("locale"))
341+
337342
return nil
338343
}
339344

0 commit comments

Comments
 (0)